Viterbi Algorithm · Decode the Hidden Path
unseel.com · HMM trellis · max-product DP · O(T·N²)
Cells filled 0
Best log-prob
State
Trellis cell
Filling (max over predecessors)
Best incoming edge
Decoded best path
Unseel.com · Viterbi Algorithm