hmmtrain without updating emission probabilities

4 views (last 30 days)
I have seen the documentation for the hmmtrain method https://www.mathworks.com/help/stats/hmmtrain.html but I am wondering: is it possible to update the transition probabilities using Baum-Welch while keeping the emission probabilities constant? I would like to keep the emission probabilities the same as they were for the initial guess?

Answers (1)

Paras Gupta
Paras Gupta on 31 Aug 2023
Hi,
The Baum-Welch algorithm is designed to estimate both the transition and emission probabilities based on the observed sequence. It iteratively updates both sets of probabilities to maximize the likelihood of the observed data.
The MATLAB function hmmtrain can be trained either using the original Baum-Welch Algorithm or the original Viterbi Algorithm. It cannot be customized to keep the emission probabilities constant as that would require a change in the algorithm itself.
If you specifically want to keep the emission probabilities constant and update only the transition probabilities, you will need to implement your own version of the Baum-Welch algorithm.
Hope this helps.

Products

Community Treasure Hunt

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

Start Hunting!