public class SamplingHMMTrainingParameterSet extends HMMTrainingParameterSet
AbstractHMM
using a sampling strategy.ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
SamplingHMMTrainingParameterSet()
This is the empty constructor that can be used to fill the parameters after creation.
|
SamplingHMMTrainingParameterSet(int starts,
int stepsPerIteration,
int stationarySteps,
AbstractBurnInTestParameterSet burnInTestParameters)
This is the main constructor creating an already filled parameter set for training an
AbstractHMM using a sampling strategy. |
SamplingHMMTrainingParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
AbstractBurnInTest |
getBurnInTest()
This method return the burn in test to be used during sampling.
|
int |
getNumberOfStepsInStationaryPhase()
The method returns the number of steps to be done in the stationary phase.
|
int |
getNumberOfStepsPerIteration()
This method returns the number of steps to be done in each start before testing for the end of the burn in phase (again).
|
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 SamplingHMMTrainingParameterSet()
public SamplingHMMTrainingParameterSet(int starts, int stepsPerIteration, int stationarySteps, AbstractBurnInTestParameterSet burnInTestParameters) throws SimpleParameter.IllegalValueException
AbstractHMM
using a sampling strategy.starts
- the number of independent startsstepsPerIteration
- the number of steps to be done for each start before testing for the end of the burn in phasestationarySteps
- the number of steps in the stationary phaseburnInTestParameters
- the parameter set for the BurnInTest
SimpleParameter.IllegalValueException
- if some parameter is not permittedpublic SamplingHMMTrainingParameterSet(StringBuffer xml) throws NonParsableException
Storable
.
Constructs a SamplingHMMTrainingParameterSet
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the SamplingHMMTrainingParameterSet
could not be reconstructed out of
the StringBuffer
xml
public int getNumberOfStepsPerIteration()
public int getNumberOfStepsInStationaryPhase()
public AbstractBurnInTest getBurnInTest() throws ParameterSetParser.NotInstantiableException
ParameterSetParser.NotInstantiableException
- if the burn in test could not be created