Forward–backward algorithm: Difference between revisions

Content deleted Content added
grammar tweak (compute efficiently -> efficiently compute)
Edasaki (talk | contribs)
Line 325:
</source>
 
We can write the implementation of the forward-backward algorithm like this:
<source lang="python">
def fwd_bkw(observations, states, start_prob, trans_prob, emm_prob, end_st):