Skip to main content

Module viterbi_algorithm

Module viterbi_algorithm 

Source
Expand description

The Viterbi algorithm and hidden Markov models, with Baum-Welch training.

See the book entry Hidden Markov models: Viterbi, forward-backward and Baum-Welch.

Structs§

BaumWelchResult
The outcome of Baum-Welch training.
HiddenMarkovModel
A discrete hidden Markov model: hidden states with start probabilities, a transition matrix and an emission matrix over a finite alphabet of observation symbols (0..symbols).

Functions§

viterbi_path
The most likely state path through a trellis, by dynamic programming in log space.