HMMTRAIN and HMMESTIMATE not working

3 次查看(过去 30 天)
Hello,
I am working on Discrete HMM. I have 1000 observations (2 observed states and 3 hidden states). My model parameters are initialized using rand generators. I use HMMVITERBI method to get the most likely hood hidden states. So i wl be having 1000 observed states and 1000 hidden states. And then I use HMMESTIMATE to train the model and get the appropriate transition and emission matrix. After getting that, I predict the next Hidden state from the new transition matrix (applying argmax) and also next observed state,
Now I do this prediction for next N number of days. My question is once I predict the next observation and next hidden state, I iterate back to HMMTRAIN with 1001 observation and again calculate new transition and emission matrix ..then again predict the next states.. now in this process, there is no significant change in the transition matrix across iteration. (coz adding one extra value is not making a big change). Coz of that I am getting the same output state for the whole N days..
Please help.. AM i missing something ?

回答(3 个)

engstudent
engstudent 2012-12-19
hi i am working in speech recognition using hmm and i need to know what is the step to build hmm andhow to train hmm in matlab7.9 ??????? i found in matlab hmmestimat,i have seq but i dont know what is the states? my Q is if i need to generat the states by my self????or this is wrong plz answer my question............
plz help me .....................

engstudent
engstudent 2012-12-19
hi i am working in speech recognition using hmm and i need to know what is the step to build hmm andhow to train hmm in matlab7.9 ??????? i found in matlab hmmestimat,i have seq but i dont know what is the states? my Q is if i need to generat the states by my self????or this is wrong plz answer my question............
plz help me .....................

Felipe
Felipe 2013-1-6
It depends in what are you defining by states in your problem. The training sequence takes as input a sequence of observed data. Take into account that the HMM works with hidden states (normally Q in literature) and Observations (normally O). There is a nice work about the Baum-Welch algorithm used in HMMTRAIN called: "A gentle tutorial of the EM Algorithm and its Application to Parameter Estimation for Gaussian Mixture and Hidden Markov Models" by Jeff A. Bilmes.
Good luck!

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by