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)
how to solve this problem. I have already attached pictures. please help. thank you in advance.

Answers (2)

Rim JOUINI
Rim JOUINI on 6 Apr 2018
I have the same problem. Please, have you solved it?

Devon Martin
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!