Jump to content

Recommended Posts

Posted

Hi,


I am trying to apply Hidden Markov Model to improve my detection accuracy.


In my program, there are two states, 1 and 0. I used Bayes detector to generate the probability for each instance to be in class 1 and 0. For example, I have a sequence Actual states: 1 1 1 1 0 0 0 0


probability in class 1: 0.5 0.6 0.7 0.8 0.9 0.2 0.3 0.4 0.5 0.5


probability in class 0: 0.2 0.3 0.4 0.5 0.5 0.5 0.6 0.7 0.8 0.9


I tried to "use probability in class 1" as the "seq" and "Actual states" as "states" in function hmmestimate ([estimateTR, estimateE] = hmmestimate(seq,states);)


But it seems that "seq" must be integers, and I do not understand what is the requirement for the input arguments.


Also in my case, how should I construct the Emission matrix.



Thanks in advance!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.