|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.scoringFunctions.AbstractNormalizableScoringFunction
de.jstacs.scoringFunctions.VariableLengthScoringFunction
de.jstacs.scoringFunctions.homogeneous.HomogeneousScoringFunction
public abstract class HomogeneousScoringFunction
This is the main class for all homogeneous ScoringFunctions.
Field Summary |
---|
Fields inherited from class de.jstacs.scoringFunctions.AbstractNormalizableScoringFunction |
---|
alphabets, length, r |
Fields inherited from interface de.jstacs.scoringFunctions.ScoringFunction |
---|
UNKNOWN |
Constructor Summary | |
---|---|
protected |
HomogeneousScoringFunction(AlphabetContainer alphabets)
This is the main constructor that creates an instance that models sequence s of arbitrary length. |
protected |
HomogeneousScoringFunction(AlphabetContainer alphabets,
int length)
This is the main constructor that creates an instance that models sequence s of a given length. |
protected |
HomogeneousScoringFunction(StringBuffer source)
This is the constructor for Storable . |
Method Summary | |
---|---|
abstract int |
getMaximalMarkovOrder()
Returns the maximal used markov oder. |
Methods inherited from class de.jstacs.scoringFunctions.VariableLengthScoringFunction |
---|
getLogScore, getLogScore, getLogScoreAndPartialDerivation, getLogScoreAndPartialDerivation, getNormalizationConstant, getNormalizationConstant, getPartialNormalizationConstant, getPartialNormalizationConstant, getStationarySymbolDistribution, setStatisticForHyperparameters |
Methods inherited from class de.jstacs.scoringFunctions.AbstractNormalizableScoringFunction |
---|
clone, fromXML, getAlphabetContainer, getInitialClassParam, getLength, getLogScore, getLogScoreAndPartialDerivation, getNumberOfRecommendedStarts, isNormalized, isNormalized |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.jstacs.scoringFunctions.NormalizableScoringFunction |
---|
addGradientOfLogPriorTerm, getEss, getLogPriorTerm, getSizeOfEventSpaceForRandomVariablesOfParameter |
Methods inherited from interface de.jstacs.scoringFunctions.ScoringFunction |
---|
getCurrentParameterValues, getInstanceName, getNumberOfParameters, initializeFunction, initializeFunctionRandomly, isInitialized, setParameters |
Methods inherited from interface de.jstacs.Storable |
---|
toXML |
Constructor Detail |
---|
protected HomogeneousScoringFunction(AlphabetContainer alphabets)
alphabets
- the AlphabetContainerprotected HomogeneousScoringFunction(AlphabetContainer alphabets, int length)
alphabets
- the AlphabetContainerlength
- the length of the modeled sequencesprotected HomogeneousScoringFunction(StringBuffer source) throws NonParsableException
Storable
.
source
- the xml representation
NonParsableException
- if the representation could not be parsed.Method Detail |
---|
public abstract int getMaximalMarkovOrder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |