public abstract class MaxHMMTrainingParameterSet extends HMMTrainingParameterSet
HMMTrainingParameterSet
that
is used for a maximizing training algorithm of a hidden Markov model.ParameterSet.ParameterList
errorMessage, parameters, parent
Modifier | Constructor and Description |
---|---|
protected |
MaxHMMTrainingParameterSet()
This is the empty constructor that can be used to fill the parameters after creation.
|
protected |
MaxHMMTrainingParameterSet(int starts,
AbstractTerminationCondition tc)
This constructor can be used to create an instance with specified parameters.
|
protected |
MaxHMMTrainingParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
AbstractTerminationCondition |
getTerminationCondition()
This method returns the
AbstractTerminationCondition for stopping the training, e.g., if the
difference of the scores between two iterations is smaller than a given
threshold the training is stopped. |
getNumberOfStarts
clone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXML
protected MaxHMMTrainingParameterSet()
protected MaxHMMTrainingParameterSet(int starts, AbstractTerminationCondition tc) throws Exception
starts
- the number of different startstc
- the termination condition for stopping the algorithmException
- if this MaxHMMTrainingParameterSet
could not be createdprotected MaxHMMTrainingParameterSet(StringBuffer xml) throws NonParsableException
Storable
.
Constructs a MaxHMMTrainingParameterSet
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the MaxHMMTrainingParameterSet
could not be reconstructed out of
the StringBuffer
xml
public AbstractTerminationCondition getTerminationCondition() throws ParameterSetParser.NotInstantiableException
AbstractTerminationCondition
for stopping the training, e.g., if the
difference of the scores between two iterations is smaller than a given
threshold the training is stopped.AbstractTerminationCondition
for stopping the trainingParameterSetParser.NotInstantiableException
- if the AbstractTerminationCondition
could not be created from its ParameterSet