|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.models.hmm.HMMTrainingParameterSet
de.jstacs.models.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, ranged |
| 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). |
protected void |
loadParameters()
Loads the parameters for this ParameterSet. |
| Methods inherited from class de.jstacs.models.hmm.HMMTrainingParameterSet |
|---|
getNumberOfStarts |
| Methods inherited from class de.jstacs.parameters.ParameterSet |
|---|
clone, fromGalaxy, fromXML, getErrorMessage, getId, getIndex, getNumberOfParameters, getNumberOfValues, getParameterAt, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, replaceParametersWithRangedInstance, reset, resetToFirst, setParent, simplify, toGalaxy, toXML, valuesToString |
| 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 permitted
public 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 |
|---|
protected void loadParameters()
throws Exception
ParameterSetParameterSet. This is in most cases
done by calling ParameterSet.initParameterList() or
ParameterSet.initParameterList(int) to initialize
ParameterSet.parameters and afterwards filling
ParameterSet.parameters with instances of subclasses of
Parameter.
loadParameters in class HMMTrainingParameterSetException - if the parameters could not be loadedParameter,
ParameterSet.parameters,
ParameterSet.initParameterList(),
ParameterSet.initParameterList(int)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 | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||