# libsvm datasetから適当なデータを取ってくる wget http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/duke.bz2 # 解凍 bzip2 -dc duke.bz2 > duke # vw用にデータを加工 cat duke | sed -e 's/^1.000000 /1.f |/1' -e 's/^-1.000000 /-1.f |/1' > duke_vw # lassoの実行 your directory/vowpal_wabbit/utl/vw-varinfo --sgd -l 2 --loss_function logistic --l1 0.0000001 --normalized duke_vw FeatureName HashVal MinVal MaxVal Weight Re
![windowsマシンでvowpal wabbitを使う(個人的メモ) - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/a0aa65dacb6501f62332b036660e7c9bc36f5a3f/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-9f5428127621718a910c8b63951390ad.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTkxNiZ0eHQ9d2luZG93cyVFMyU4MyU5RSVFMyU4MiVCNyVFMyU4MyVCMyVFMyU4MSVBN3Zvd3BhbCUyMHdhYmJpdCVFMyU4MiU5MiVFNCVCRCVCRiVFMyU4MSU4NiVFRiVCQyU4OCVFNSU4MCU4QiVFNCVCQSVCQSVFNyU5QSU4NCVFMyU4MyVBMSVFMyU4MyVBMiVFRiVCQyU4OSZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTU2JnR4dC1jbGlwPWVsbGlwc2lzJnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9YWYzNGVmNjI1NTMxNTA1YWI4ZDliOTBjNDBhYjVlODE%26mark-x%3D142%26mark-y%3D112%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTYxNiZ0eHQ9JTQwc2hpbWFfeCZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTM2JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9OTc3YjA3MDkzZWVlOWExOGFlOWEzNmRjYTEzOTc1MzU%26blend-x%3D142%26blend-y%3D491%26blend-mode%3Dnormal%26s%3D08d67bd2c73ae44006a329d59940a4ae)