Content deleted Content added
m Bot: Migrating 5 interwiki links, now provided by Wikidata on d:q4909 (Report Errors) |
|||
Line 332:
# Initialize base fwd cases
prev_f_sum = a_0[st]
fwd.append(f_curr)
f_prev = f_curr
Line 345 ⟶ 341:
b_prev = {}
# Run bkw
p_bkw = sum(a_0[l] * e[l][x[0]] * b_curr[l] for l in states)
|