Content deleted Content added
Corrected page reference. "Director" in the textbook does not have a gender specified. |
Update notation to be consistent - always t=1, ..., T and never k=1, ..., t |
||
Line 1:
{{Inline|date=April 2018}}
The '''forward–backward algorithm''' is an [[Statistical_inference | inference]] [[algorithm]] for [[hidden Markov model]]s which computes the [[posterior probability|posterior]] [[marginal probability|marginals]] of all hidden state variables given a sequence of observations/emissions <math>o_{1:
The term ''forward–backward algorithm'' is also used to refer to any algorithm belonging to the general class of algorithms that operate on sequence models in a forward–backward manner. In this sense, the descriptions in the remainder of this article refer but to one specific instance of this class.
==Overview ==
In the first pass, the forward–backward algorithm computes a set of forward probabilities which provide, for all <math>
:<math>P(
The last step follows from an application of the [[Bayes' rule]] and the [[conditional independence]] of <math>o_{
As outlined above, the algorithm involves three steps:
|