de.jstacs.sequenceScores.statisticalModels.trainable.mixture
Enum AbstractMixtureTrainSM.Parameterization

java.lang.Object
  extended by java.lang.Enum<AbstractMixtureTrainSM.Parameterization>
      extended by de.jstacs.sequenceScores.statisticalModels.trainable.mixture.AbstractMixtureTrainSM.Parameterization
All Implemented Interfaces:
Serializable, Comparable<AbstractMixtureTrainSM.Parameterization>
Enclosing class:
AbstractMixtureTrainSM

public static enum AbstractMixtureTrainSM.Parameterization
extends Enum<AbstractMixtureTrainSM.Parameterization>

This enum defines the different types of parameterization for a probability that can be used in an AbstractMixtureTrainSM.

Author:
Jens Keilwagen

Enum Constant Summary
LAMBDA
          This value indicates that the component probabilities will be parameterized as $\lambda_c = \log p(c)$.
THETA
          This value indicates that the component probabilities will be parameterized as $\theta_c = p(c)$.
 
Method Summary
static AbstractMixtureTrainSM.Parameterization valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractMixtureTrainSM.Parameterization[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

THETA

public static final AbstractMixtureTrainSM.Parameterization THETA
This value indicates that the component probabilities will be parameterized as $\theta_c = p(c)$.


LAMBDA

public static final AbstractMixtureTrainSM.Parameterization LAMBDA
This value indicates that the component probabilities will be parameterized as $\lambda_c = \log p(c)$.

Method Detail

values

public static AbstractMixtureTrainSM.Parameterization[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AbstractMixtureTrainSM.Parameterization c : AbstractMixtureTrainSM.Parameterization.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AbstractMixtureTrainSM.Parameterization valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null