Package oracle.pgx.config.mllib.loss
Enum LossFunction.LossType
- java.lang.Object
-
- java.lang.Enum<LossFunction.LossType>
-
- oracle.pgx.config.mllib.loss.LossFunction.LossType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LossFunction.LossType>
- Enclosing class:
- LossFunction
public static enum LossFunction.LossType extends java.lang.Enum<LossFunction.LossType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEVNETMSESIGMOID_CROSS_ENTROPYSOFTMAX_CROSS_ENTROPY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LossFunction.LossTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LossFunction.LossType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOFTMAX_CROSS_ENTROPY
public static final LossFunction.LossType SOFTMAX_CROSS_ENTROPY
-
SIGMOID_CROSS_ENTROPY
public static final LossFunction.LossType SIGMOID_CROSS_ENTROPY
-
DEVNET
public static final LossFunction.LossType DEVNET
-
MSE
public static final LossFunction.LossType MSE
-
-
Method Detail
-
values
public static LossFunction.LossType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LossFunction.LossType c : LossFunction.LossType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LossFunction.LossType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-