public static enum AbstractMixtureTrainSM.Algorithm extends Enum<AbstractMixtureTrainSM.Algorithm>
enum
defines the different types of algorithms that can
be used in an AbstractMixtureTrainSM
.Enum Constant and Description |
---|
EM
This value indicates that the model should be learned using the
expectation maximization.
|
GIBBS_SAMPLING
This value indicates that the model should be learned using Gibbs
sampling.
|
Modifier and Type | Method and Description |
---|---|
static AbstractMixtureTrainSM.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractMixtureTrainSM.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractMixtureTrainSM.Algorithm EM
public static final AbstractMixtureTrainSM.Algorithm GIBBS_SAMPLING
public static AbstractMixtureTrainSM.Algorithm[] values()
for (AbstractMixtureTrainSM.Algorithm c : AbstractMixtureTrainSM.Algorithm.values()) System.out.println(c);
public static AbstractMixtureTrainSM.Algorithm 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 null