Fit Hidden Markov Model

Fit hidden Markov models using the Baum-Welch (EM) algorithm with model selection, Viterbi decoding for state sequences, and forward-backward probabilities. Use when observations are generated by unobservable latent states, you need to segment a time series into latent regimes (market regimes, speech phonemes, biological sequences), compute sequence probabilities, decode the most likely hidden state path, or compare models with different numbers of hidden states.

pjt222 Updated

File contents

pjt222/agent-almanac/tree/main/skills/fit-hidden-markov-model commit 248507bfac

Frequently asked questions

npx skillmds@latest add pjt222/fit-hidden-markov-model