public enum OptimizationAlgorithm extends Enum<OptimizationAlgorithm>
Enum Constant and Description |
---|
CONJUGATE_GRADIENT |
LBFGS |
LINE_GRADIENT_DESCENT |
STOCHASTIC_GRADIENT_DESCENT |
Modifier and Type | Method and Description |
---|---|
static OptimizationAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptimizationAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptimizationAlgorithm LINE_GRADIENT_DESCENT
public static final OptimizationAlgorithm CONJUGATE_GRADIENT
public static final OptimizationAlgorithm LBFGS
public static final OptimizationAlgorithm STOCHASTIC_GRADIENT_DESCENT
public static OptimizationAlgorithm[] values()
for (OptimizationAlgorithm c : OptimizationAlgorithm.values()) System.out.println(c);
public static OptimizationAlgorithm 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 nullCopyright © 2019. All rights reserved.