Content deleted Content added
TwoTwoHello (talk | contribs) Undid revision 549672406 by 14.139.122.114 (talk) unexplained removal of content |
TwoTwoHello (talk | contribs) Reverted to revision 549339381 by Dr.death.tm: rv more. (TW) |
||
Line 301:
<source lang="python">
states = ('Healthy', 'Fever')
end_state = 'E'
observations = ('normal', 'cold', 'dizzy')
Line 324 ⟶ 325:
for l, x_i in enumerate(x):
fwd = []
f_prev = {}
for st in states: ▼
f_curr = {}
if i == 0:
prev_f_sum = a_0[st]
f_prev = f_curr
|