viterbi Find most likely sequence of hidden states, i.e., the Viterbi path. Ported from Python example here