Vowpal Wabbit Logistic Regression

纵然是瞬间 提交于 2019-12-05 05:53:04

Predictions are in the range [-50, +50] (theoretically any real number, but Vowpal Wabbit truncates it to [-50, +50]).

To convert them to {-1, +1}, use --binary. Positive predictions are simply mapped to +1, negative to -1.

To convert them to [0, +1], use --link=logistic. This uses the logistic function 1/(1 + exp(-x)). You should also use --loss_function=logistic if you want to interpret the numbers as probabilities.

To convert them to [-1, +1], use --link=glf1. This uses formula 2/(1 + exp(-x)) - 1 (generalized logistic function with limits of 1).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!