public enum LossFunctions extends Enum<LossFunctions> implements Loss
Enum Constant and Description |
---|
HingeLoss |
LogLoss |
SmoothHingeLoss |
SquaredHingeLoss |
Modifier and Type | Method and Description |
---|---|
static LossFunctions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LossFunctions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LossFunctions LogLoss
public static final LossFunctions HingeLoss
public static final LossFunctions SquaredHingeLoss
public static final LossFunctions SmoothHingeLoss
public static LossFunctions[] values()
for (LossFunctions c : LossFunctions.values()) System.out.println(c);
public static LossFunctions 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 null