jeffheaton/encog-java-core

HMM mu & sigma

nirzohar opened this issue · 0 comments

I use TrainBaumWelchScaled to train HiddenMarkovModel. It seems that the mu (mean) on the StateDistribution on the HiddenMarkovModel do not change after the iterations.
Here is my logic within the for loop:

clac = (ForwardBackwardScaledCalculator) bwl.generateForwardBackwardCalculator(trainingSet, trainHmm);
double curLoglik = clac.lnProbability();

bwl.iteration();
trainHmm = (HiddenMarkovModel) bwl.getMethod();

appreciate the help, or mail to nir@provenanceim.com

Thanks