Viterbi algorithm: Difference between revisions

Content deleted Content added
Mathbot (talk | contribs)
Robot-assisted spelling. See User:Mathbot/Logged misspellings for changes.
Fixed bug in the example code
Line 32:
for state in X:
(prob, v_path, v_prob) = T[state]
p = ep[statenext_state][output] * tp[state][next_state]
prob *= p
v_prob *= p