|
||||||||||
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.BaumWelchTrainer
public class 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 | |
---|---|
double |
mathExp(double arg)
|
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 AbstractTrainer
IllegalSymbolException
IllegalTransitionException
IllegalAlphabetException
public double mathExp(double arg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |