/hmm-hidden-markov-model

This code implements the following Hidden Markov Model algorithms: Forward, Backward, Viterbi, and Baum-Welch (aka Forward-Backward) algorithms. It uses linear algebra instead of loops where possible for performance improvements, and also uses log-probabilities for calculations to prevent numerical underflow.

Primary LanguagePython

Stargazers