Forward Viterbi Algorithm
by David Conger
22 Jun 2009
(Updated 12 Jan 2010)
Forward Viterbi algorithm based on: http://en.wikipedia.org/wiki/Viterbi_algorithm
|
Watch this File
|
| File Information |
| Description |
Forward Viterbi algorithm based on the Python code found at: http://en.wikipedia.org/wiki/Viterbi_algorithm
Also included is an example based on the one from the Wikipedia page for a simple 2-state model with 4 observations. To paraphrase:
Bob tells Alice his daily activities (observations) and Alice wants to determine the most likely weather each day (states). Since Alice lives far away, the weather is unknown to her (hidden). Assuming that the states behave as a Markov process, and the observations have a statistical dependency on the states, the Viterbi algorithm can find the most likely weather pattern (path).
More information can be found at:
http://en.wikipedia.org/wiki/Viterbi_algorithm |
| MATLAB release |
MATLAB 7.5 (R2007b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 12 Jan 2010 |
Fixed the problem found by Justin. To make things simpler, observations are now numbered, rather than allowing strings. |
|
Contact us