GenaKoveshnikov / jahmm

Automatically exported from code.google.com/p/jahmm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with counters on estimateGamma

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. gamma[xi.length-1][j] and gamma[xi.length][j] are updated with the same
values
2. Check file BaumWelchLearner.java
3.

What is the expected output? What do you see instead?

I expected something like

for (int t = 0; t < xi.length; t++)
            for (int i = 0; i < xi[0].length; i++)
                for (int j = 0; j < xi[0].length; j++)
                    gamma[t+1][i] += xi[t][i][j];

and the next loop omitted

What version of the product are you using? On what operating system?

0.6.1 on java 1.6.b16

Please provide any additional information below.

Please consult Rabiner's book

Original issue reported on code.google.com by fithis2...@gmail.com on 15 Sep 2009 at 10:42