public enum Loss extends Enum<Loss>
Part of generalized linear model framework.
Also check https://github.com/JohnLangford/vowpal_wabbit/wiki/Loss-functions
Enum Constant and Description |
---|
classic |
hinge |
logistic |
poisson |
quantile |
squared |
Modifier and Type | Method and Description |
---|---|
static Loss |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Loss[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Loss squared
public static final Loss classic
public static final Loss hinge
public static final Loss logistic
public static final Loss quantile
public static final Loss poisson
public static Loss[] values()
for (Loss c : Loss.values()) System.out.println(c);
public static Loss valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.