commit 883e7a37a089142d60bcae053347bad43f4b3fc2
parent 9869a9845900deda6dbdc2d6579ee46d67b21c11
Author: Stefan Koch <taikano@lavabit.com>
Date: Sat, 22 Jun 2013 13:46:42 +0200
emission matrix now independant from gesture
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/models.py b/models.py
@@ -65,9 +65,9 @@ models = []
sigma = ghmm.IntegerRange(0, 8)
i = 0
+B = emission_matrix()
for gesture in gestures:
A = transition_matrix(gesture[0])
- B = emission_matrix(gesture[0])
pi = initial_vector(gesture[0])
m = ghmm.HMMFromMatrices(sigma, ghmm.DiscreteDistribution(sigma), A, B, pi)