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