de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training
Class MaxHMMTrainingParameterSet
java.lang.Object
de.jstacs.parameters.ParameterSet
de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training.HMMTrainingParameterSet
de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training.MaxHMMTrainingParameterSet
- All Implemented Interfaces:
- GalaxyConvertible, Storable, Cloneable
- Direct Known Subclasses:
- MultiThreadedTrainingParameterSet
public abstract class MaxHMMTrainingParameterSet
- extends HMMTrainingParameterSet
This class is the super class for any HMMTrainingParameterSet
that
is used for a maximizing training algorithm of a hidden Markov model.
- Author:
- Jens Keilwagen
Methods inherited from class de.jstacs.parameters.ParameterSet |
clone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXML |
MaxHMMTrainingParameterSet
protected MaxHMMTrainingParameterSet()
- This is the empty constructor that can be used to fill the parameters after creation.
MaxHMMTrainingParameterSet
protected MaxHMMTrainingParameterSet(int starts,
AbstractTerminationCondition tc)
throws Exception
- This constructor can be used to create an instance with specified parameters.
- Parameters:
starts
- the number of different startstc
- the termination condition for stopping the algorithm
- Throws:
Exception
- if this MaxHMMTrainingParameterSet
could not be created
MaxHMMTrainingParameterSet
protected MaxHMMTrainingParameterSet(StringBuffer xml)
throws NonParsableException
- The standard constructor for the interface
Storable
.
Constructs a MaxHMMTrainingParameterSet
out of an XML representation.
- Parameters:
xml
- the XML representation as StringBuffer
- Throws:
NonParsableException
- if the MaxHMMTrainingParameterSet
could not be reconstructed out of
the StringBuffer
xml
getTerminationCondition
public AbstractTerminationCondition getTerminationCondition()
throws ParameterSetParser.NotInstantiableException
- 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.
- Returns:
- the
AbstractTerminationCondition
for stopping the training
- Throws:
ParameterSetParser.NotInstantiableException
- if the AbstractTerminationCondition
could not be created from its ParameterSet