hmmdecode
Posterior state probabilities for a discrete hidden Markov model.
📝Syntax
pstates = hmmdecode(seq, trans, emis)
[pstates, logpseq] = hmmdecode(seq, trans, emis)
📄Description

hmmdecode uses a scaled forward-backward pass to compute posterior state probabilities and sequence log likelihood.

💡Examples
seq = [1 2 3 2 1];
trans = [0.7 0.3; 0.4 0.6];
emis = [0.5 0.4 0.1; 0.1 0.3 0.6];
[pstates, logpseq] = hmmdecode(seq, trans, emis)
🔗See Also
hmmviterbihmmtrain
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub