#maths Given a Hidden Markov Model with known parameters, we can deduct the most likely sequence of hidden states given a sequence of observation. The Viterbi algorithm gives us a sequence while the forward algorithm gives us a probability. The Viterbi algorithm is similar to the forward algorithm where instead of summing the likelihoods, we take the max. We can write it as the following:
Further reading: