srirachaQueen / jahmm

Automatically exported from code.google.com/p/jahmm
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Problem with counters on estimateGamma #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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