| Enum Constant and Description |
|---|
Huber
Huber loss function for M-regression, which attempts resistance to
long-tailed error distributions and outliers while maintaining high
efficency for normally distributed errors.
|
LeastAbsoluteDeviation
Least absolute deviation regression.
|
LeastSquares
Least squares regression.
|
Quantile
Quantile regression.
|
| Modifier and Type | Method and Description |
|---|---|
static Loss.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Loss.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Loss.Type LeastSquares
public static final Loss.Type Quantile
public static final Loss.Type LeastAbsoluteDeviation
public static final Loss.Type Huber
public static Loss.Type[] values()
for (Loss.Type c : Loss.Type.values()) System.out.println(c);
public static Loss.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null