commit b4134e325c91a317a27ba285822afb7694b73a1b
parent 883e7a37a089142d60bcae053347bad43f4b3fc2
Author: Stefan <cct@stefan-koch.name>
Date: Sat, 22 Jun 2013 13:42:28 +0200
small bugfix
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/models.py b/models.py
@@ -39,7 +39,8 @@ def transition_matrix(gesture):
for second in gestes[1:]:
# if we have a transition, prob must be high
- A[first][second] = 0.3
+ A[first][second] = 0.4
+ first = second
# ending element has no transitions anymore, so give it one
A[gestes[-1]][gestes[-1]] = 1