Effacer les filtres
Effacer les filtres

Initial Emission and transition probability

2 vues (au cours des 30 derniers jours)
pallavi patil
pallavi patil le 12 Juil 2022
Modifié(e) : Akash le 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?

Réponses (1)

Akash
Akash le 15 Sep 2023
Modifié(e) : Akash le 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.

Catégories

En savoir plus sur Get Started with Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by