Error using hmmviterbi (line 142) A zero transition probability was encountered from state 1. Please provide more data or PseudoTransition information.
4 views (last 30 days)
Show older comments
how to solve this problem. I have already attached pictures. please help. thank you in advance.
Answers (2)
Devon Martin
on 19 Nov 2020
I had the same problem. For me, it wasn't the transition matrix at all; it was the emission matrix. I used too many hidden states and some of them gave zero columns in the emission matrix. Once the hmmviterbi got into one of these states, it didn't know where to go. I solved it by making educated guesses on what state should be preferred at those given states, so that now there's at least one entry at these hidden states.
0 Comments
See Also
Categories
Find more on Markov Chain Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!