public abstract class AbstractLatentVariableModel
extends de.jstacs.sequenceScores.statisticalModels.trainable.AbstractTrainableStatisticalModel
Modifier and Type | Field and Description |
---|---|
java.lang.String |
expString |
protected int |
lagInStationaryPhase |
protected int |
lengthOfBurnIn |
protected int |
mode |
protected int |
numberOfIterations |
protected int |
numberOfRestarts |
protected java.io.BufferedReader |
reader |
protected java.lang.String |
sampleStorageDirectory |
protected java.io.BufferedWriter |
writer |
protected static java.lang.String |
XML_TAG |
Constructor and Description |
---|
AbstractLatentVariableModel(de.jstacs.data.AlphabetContainer alphabets,
int length)
Constructor
|
AbstractLatentVariableModel(java.lang.StringBuffer sb)
Constructor from an XML representation
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSampleStorageDirectory()
Returns the directiory of samples parameter sets, i.e., for reading the Gibbs sampling output
|
void |
setSampleStorageDirectory(java.lang.String dir)
Method for setting a directiory of samples parameter sets, i.e., for writing Gibbs sampling output
|
check, clone, emitDataSet, fromXML, getAlphabetContainer, getCharacteristics, getLength, getLogProbFor, getLogProbFor, getLogScoreFor, getLogScoreFor, getLogScoreFor, getLogScoreFor, getLogScoreFor, getMaximalMarkovOrder, toString, train
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
train
getLogPriorTerm, getLogProbFor
protected static final java.lang.String XML_TAG
protected int numberOfIterations
protected int numberOfRestarts
protected int lengthOfBurnIn
protected int lagInStationaryPhase
protected int mode
protected java.io.BufferedWriter writer
protected java.io.BufferedReader reader
protected java.lang.String sampleStorageDirectory
public java.lang.String expString
public AbstractLatentVariableModel(de.jstacs.data.AlphabetContainer alphabets, int length)
alphabets
- The alphabet containerlength
- The length of the input sequencespublic AbstractLatentVariableModel(java.lang.StringBuffer sb) throws de.jstacs.io.NonParsableException
sb
- The StringBuffer containing the XML representationde.jstacs.io.NonParsableException
public void setSampleStorageDirectory(java.lang.String dir)
dir
- Pathpublic java.lang.String getSampleStorageDirectory()
dir
- Path