interface LinkAndLossOptions
loss function defines gradient using to update feature weights; link function is applied to linear composition.
Possibility to set these to functions makes vowpal wabbit GLM framework.
Check https: github.com/JohnLangford/vowpal_wabbit/wiki/Loss-functions
Modifier and Type | Method and Description |
---|---|
SGDVowpalWabbitBuilder |
link(Link link)
Specify the link function: identity, logistic, glf1 or poisson (=identity)
|
SGDVowpalWabbitBuilder |
lossFunction(Loss loss)
Specify the loss function to be used, uses squared by default.
|
SGDVowpalWabbitBuilder |
quantileTau(double tau)
Parameter \tau associated with Quantile loss.
|
SGDVowpalWabbitBuilder lossFunction(Loss loss)
squared, classic, hinge, logistic, quantile and poisson. (=squared)
loss
- loss functionSGDVowpalWabbitBuilder quantileTau(double tau)
tau
- tau quantile. Must be in range [0, 1].SGDVowpalWabbitBuilder link(Link link)
link
- link functionCopyright © 2017. All rights reserved.