vowpalwabbit - Vowpal Wabbit Readable Model Doesnt Have weights -
i wanted lasso regression vowpal wabbit. so, used command line
vw --save_resume --readable_model ob/e/nsefut/vw_testing/buymodel.vwm -d ob/e/nsefut/vw_testing/vwsell.vwf --quiet --predictions ob/e/nsefut/vw_testing/predict.vw --loss_function logistic --noconstant --l1 0.001
the readable file shows no weights of features used. when skip param --l1 shows weights properly.plus when dont give --l1 param, came weights this..
- 1:-0.437898 994842.000000 1.000000
- 33340:-0.176359 201942.265625 1.006310
- 59044:-0.152967 201843.875000 1.002754
- 63438:-0.187405 202149.140625 1.015530
- 124204:-0.159398 201741.187500 1.002742
- 166130:-0.185312 201754.421875 1.013330
which suggest weights negative. features +ve valued. hence linear combination of features negative observation resulting prediction -ve observation. seeing both +ve , -ve predicted label.
three questions
- whether command line correct lasso regression.
- what enable me see weights.
- what making me not understand negative weights incident
Comments
Post a Comment