with one click
ix-hmm
Hidden Markov Model analysis — Viterbi, Baum-Welch, forward-backward
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Hidden Markov Model analysis — Viterbi, Baum-Welch, forward-backward
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Test model robustness with adversarial attacks and defenses
Multi-armed bandit simulation — epsilon-greedy, UCB1, Thompson sampling
Benchmark and compare ix algorithm performance
Embedded Redis-like cache with TTL, LRU, pub/sub, and RESP protocol
Category theory primitives — monad laws verification, free-forgetful adjunction
Chaos theory analysis — Lyapunov exponents, bifurcation, attractors, fractals
| name | ix-hmm |
| description | Hidden Markov Model analysis — Viterbi, Baum-Welch, forward-backward |
| disable-model-invocation | true |
Decode hidden state sequences, learn model parameters, compute state probabilities.
When the user has sequential observations generated by an unknown underlying process — speech recognition, NLP tagging, biological sequences, regime detection in finance.
use ix_graph::hmm::HiddenMarkovModel;
use ndarray::{array, Array2};
let hmm = HiddenMarkovModel::new(
initial, // Array1<f64> — prior state distribution
transition, // Array2<f64> — state-to-state transition probs
emission, // Array2<f64> — state-to-observation emission probs
).unwrap();
let (path, log_prob) = hmm.viterbi(&observations);
let log_likelihood = hmm.forward(&observations);
let gamma = hmm.forward_backward(&observations); // posterior state probs
let trained = hmm.baum_welch(&observations, 100, 1e-6); // EM learning