|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.biojava.bio.dp.AbstractTrainer
|
+--org.biojava.bio.dp.BaumWelchTrainer
Train a hidden markov model using maximum likelihood.
Note: this class currently only works for one-head models.
| Constructor Summary | |
BaumWelchTrainer(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 BaumWelchTrainer(DP dp)
| Method Detail |
protected double singleSequenceIteration(ModelTrainer trainer,
SymbolList symList)
throws IllegalSymbolException,
IllegalTransitionException,
IllegalAlphabetException
singleSequenceIteration in class AbstractTrainerIllegalSymbolException
IllegalTransitionException
IllegalAlphabetException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||