Initial Emission and transition probability

1 view (last 30 days)
pallavi patil
pallavi patil on 12 Jul 2022
Edited: Akash on 15 Sep 2023
I want to train a HMM classifier with features as input. Considering two observation states(o1, o2) and two hidden states(h1, h2), and some initial probability I apply a supervised algorithm and on the basis of the classifier output, calculate the following Transition prob : [ P(h1/h1), P( h1/ h2); P(h2/ h1),P(h2/h2)]. emission prob: [p(o1/h1), p(o1/h2); p(o2/h1), p(o2/h2)] Is this the correct way to calculate the probabilities?

Answers (1)

Akash
Akash on 15 Sep 2023
Edited: Akash on 15 Sep 2023
Hi Pallavi,
I understand that you want to train a "Hidden Markov Model (HMM)" classifier using features as input. You are applying a supervised algorithm and based on the classifier output, you want to calculate the transition probabilities and emission probabilities.
To calculate these probabilities, I recommend referring to the documentation on "Hidden Markov Models (HMM)" in MATLAB. Specifically, you can explore the section "Estimating Transition and Emission Matrices" in the documentation, which provides insights on how to estimate these probabilities in an "HMM". You can find the documentation at the below provided link
Thanks,
Akash.

Community Treasure Hunt

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

Start Hunting!