Viterbi Algorithm

Finding probable states
Definition
Example
Summary

Section 1 - Page 12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Recall that to calculate the partial probability, d at time t we only need the d's for time t-1. Having calculated this partial probability, it is thus possible to record which preceding state was the one to generate d(i,t) - that is, in what state the system must have been at time t-1 if it is to arrive optimally at state i at time t. This recording (remembering) is done by holding for each state a back pointer f which points to the predecessor that optimally provokes the current state.

Formally, we can write

[Formula]

Here, the argmax operator selects the index j which maximises the bracketed expression.