01 Hidden Markov Models
01 Hidden Markov Models
Observations (O):
3. Algorithms in HMMs
Forward Algorithm
The forward algorithm calculates the probability of observing a sequence of
events up to a certain point in time. It is used to evaluate the likelihood of a
given observation sequence.
Backward Algorithm
The backward algorithm calculates the probability of the ending portion of the
observation sequence, given the hidden state at a particular time. It is used in
conjunction with the forward algorithm for efficient computation.
Viterbi Algorithm
The Viterbi algorithm finds the most probable sequence of hidden states that
results in a sequence of observed events. It is used for decoding and is based on
dynamic programming.