NAN problem in HMM
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I have 40 states in the transition matrix and 40 emissions which represents 1 for each state.
When it comes to insert sequences to get the log of the probability of sequence SEQ given the transition matrix, TR and the emission matrix, E (using HMMDecode , Baum Welch Algorithm), 4224 out of 31000 sequences are given NAN. Is there any way to solve this?
I am thinking to add noise to transition matrix since there a lot of states which has 0% probability to go to another state.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!