public class NumericalHMMTrainingParameterSet extends MultiThreadedTrainingParameterSet
ParameterSet
for numerical training of an AbstractHMM
.ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
NumericalHMMTrainingParameterSet()
This is the empty constructor that can be used to fill the parameters after creation.
|
NumericalHMMTrainingParameterSet(int starts,
AbstractTerminationCondition tc,
int threads,
byte algorithm,
double lineEps,
double startDist)
This constructor can be used to create an instance with specified parameters.
|
NumericalHMMTrainingParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
byte |
getAlgorithm()
This method returns a byte encoding for the algorithm that should be used for optimization.
|
double |
getLineEps()
This method returns the threshold that should be used for stopping the line search during the optimization.
|
double |
getStartDistance()
This method returns the start distance that should be used in the line search during the optimization.
|
getNumberOfThreads
getTerminationCondition
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
public NumericalHMMTrainingParameterSet()
public NumericalHMMTrainingParameterSet(int starts, AbstractTerminationCondition tc, int threads, byte algorithm, double lineEps, double startDist) throws Exception
starts
- the number of different startstc
- the termination condition for stopping the algorithmthreads
- the number of threads that should be used during optimizationalgorithm
- the algorithm that shall be usedlineEps
- the threshold for stopping the line searchstartDist
- the start distance for the line searchException
- if this NumericalHMMTrainingParameterSet
could not be createdpublic NumericalHMMTrainingParameterSet(StringBuffer xml) throws NonParsableException
Storable
.
Constructs a NumericalHMMTrainingParameterSet
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the NumericalHMMTrainingParameterSet
could not be reconstructed out of
the StringBuffer
xml
public byte getAlgorithm()
public double getLineEps()
public double getStartDistance()