public class BaumWelchParameterSet extends MultiThreadedTrainingParameterSet
HMMTrainingParameterSet for the Baum-Welch training of an AbstractHMM.ParameterSet.ParameterListerrorMessage, parameters, parent| Constructor and Description |
|---|
BaumWelchParameterSet()
This is the empty constructor that can be used to fill the parameters after creation.
|
BaumWelchParameterSet(int starts,
AbstractTerminationCondition tc,
int threads)
This constructor can be used to create an instance with specified parameters.
|
BaumWelchParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasDefaultOrIsSet()
Returns
true if all parameters in this ParameterSet
are either set by the user or have default values. |
getNumberOfThreadsgetTerminationConditiongetNumberOfStartsclone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXMLpublic BaumWelchParameterSet()
public BaumWelchParameterSet(int starts,
AbstractTerminationCondition tc,
int threads)
throws Exception
starts - the number of different startstc - the termination condition for stopping the algorithmthreads - the number of threads that should be used during optimizationException - if the BaumWelchParameterSet could not be createdpublic BaumWelchParameterSet(StringBuffer xml) throws NonParsableException
Storable.
Constructs a BaumWelchParameterSet out of an XML representation.xml - the XML representation as StringBufferNonParsableException - if the BaumWelchParameterSet could not be reconstructed out of
the StringBuffer xmlpublic boolean hasDefaultOrIsSet()
ParameterSettrue if all parameters in this ParameterSet
are either set by the user or have default values. If any additional
constraints are required on your parameters you should either specify
some ParameterValidator on these parameters or implement these
constraints by overriding this method in your implementation of
ParameterSet. It is recommended to specify a useful remark which
constraint failed in the member-variable errorMessage, which
will be displayed to the user. In the overriding method
super.ParameterSet.hasDefaultOrIsSet() should be called prior to
checking specific constraints.hasDefaultOrIsSet in class ParameterSettrue if all parameters have some allowed value set,
false otherwise