public static enum DummyClassifierTrainer.DummyType extends Enum<DummyClassifierTrainer.DummyType>
Enum Constant and Description |
---|
CONSTANT
Returns the supplied label for all inputs.
|
MOST_FREQUENT
Returns the most frequent training label.
|
STRATIFIED
Samples the label proprotional to the training label frequencies.
|
UNIFORM
Samples uniformly from the label domain.
|
Modifier and Type | Method and Description |
---|---|
static DummyClassifierTrainer.DummyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DummyClassifierTrainer.DummyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DummyClassifierTrainer.DummyType STRATIFIED
public static final DummyClassifierTrainer.DummyType MOST_FREQUENT
public static final DummyClassifierTrainer.DummyType UNIFORM
public static final DummyClassifierTrainer.DummyType CONSTANT
public static DummyClassifierTrainer.DummyType[] values()
for (DummyClassifierTrainer.DummyType c : DummyClassifierTrainer.DummyType.values()) System.out.println(c);
public static DummyClassifierTrainer.DummyType 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 © 2015–2021 Oracle and/or its affiliates. All rights reserved.