encog-java-core icon indicating copy to clipboard operation
encog-java-core copied to clipboard

HMM mu & sigma

Open nirzohar opened this issue 7 years ago • 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 [email protected]

Thanks

nirzohar avatar Jun 14 '17 08:06 nirzohar