Package org.tribuo.math.optimisers
Enum Class GradientOptimiserOptions.StochasticGradientOptimiserType
java.lang.Object
java.lang.Enum<GradientOptimiserOptions.StochasticGradientOptimiserType>
org.tribuo.math.optimisers.GradientOptimiserOptions.StochasticGradientOptimiserType
- All Implemented Interfaces:
Serializable
,Comparable<GradientOptimiserOptions.StochasticGradientOptimiserType>
,Constable
- Enclosing class:
- GradientOptimiserOptions
public static enum GradientOptimiserOptions.StochasticGradientOptimiserType
extends Enum<GradientOptimiserOptions.StochasticGradientOptimiserType>
Type of the gradient optimisers available in CLIs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe AdaDelta optimiser.The AdaGrad optimiser.The AdaGrad Regularised Dual Averaging optimiser.The Adam optimiser.SGD with a constant learning rate.SGD with a linear-decay learning rate.The Pegasos optimiser.The RMSProp optimiser.SGD with a square root decay learning rate. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADADELTA
The AdaDelta optimiser. -
ADAGRAD
The AdaGrad optimiser. -
ADAGRADRDA
The AdaGrad Regularised Dual Averaging optimiser. -
ADAM
The Adam optimiser. -
PEGASOS
The Pegasos optimiser. -
RMSPROP
The RMSProp optimiser. -
CONSTANTSGD
SGD with a constant learning rate. -
LINEARSGD
SGD with a linear-decay learning rate. -
SQRTSGD
SGD with a square root decay learning rate.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-