|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.dp.AbstractTrainer
org.biojava.bio.dp.BaumWelchSampler
Train a hidden markov model using a sampling algorithm.
Note: this class currently only works for one-head models.
Constructor Summary | |
BaumWelchSampler(DP dp)
|
Method Summary | |
protected double |
singleSequenceIteration(ModelTrainer trainer,
SymbolList symList)
|
Methods inherited from class org.biojava.bio.dp.AbstractTrainer |
getCurrentScore, getCycle, getDP, getLastScore, train |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaumWelchSampler(DP dp)
Method Detail |
protected double singleSequenceIteration(ModelTrainer trainer, SymbolList symList) throws IllegalSymbolException, IllegalTransitionException, IllegalAlphabetException
singleSequenceIteration
in class AbstractTrainer
IllegalSymbolException
IllegalTransitionException
IllegalAlphabetException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |