Jump to content

Regarding building HMM model

Featured Replies

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!

Archived

This topic is now archived and is closed to further replies.

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.