|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training.HMMTrainingParameterSet
de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training.SamplingHMMTrainingParameterSet
public class SamplingHMMTrainingParameterSet
This class contains the parameters for training training an AbstractHMM
using a sampling strategy.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet |
---|
ParameterSet.ParameterList |
Field Summary |
---|
Fields inherited from class de.jstacs.parameters.ParameterSet |
---|
errorMessage, parameters, parent |
Constructor Summary | |
---|---|
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 . |
Method Summary | |
---|---|
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). |
Methods inherited from class de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training.HMMTrainingParameterSet |
---|
getNumberOfStarts |
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
Method Detail |
---|
public int getNumberOfStepsPerIteration()
public int getNumberOfStepsInStationaryPhase()
public AbstractBurnInTest getBurnInTest() throws ParameterSetParser.NotInstantiableException
ParameterSetParser.NotInstantiableException
- if the burn in test could not be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |