public static enum GradientTreeBoost.Loss extends java.lang.Enum<GradientTreeBoost.Loss>
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.
|
Modifier and Type | Method and Description |
---|---|
static GradientTreeBoost.Loss |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GradientTreeBoost.Loss[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientTreeBoost.Loss LeastSquares
public static final GradientTreeBoost.Loss LeastAbsoluteDeviation
public static final GradientTreeBoost.Loss Huber
public static GradientTreeBoost.Loss[] values()
for (GradientTreeBoost.Loss c : GradientTreeBoost.Loss.values()) System.out.println(c);
public static GradientTreeBoost.Loss 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