Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Learning Rate for Multinomial HMM #5

Open
tahaceritli opened this issue Feb 25, 2022 · 1 comment
Open

Learning Rate for Multinomial HMM #5

tahaceritli opened this issue Feb 25, 2022 · 1 comment

Comments

@tahaceritli
Copy link

tahaceritli commented Feb 25, 2022

Hi all,

Thanks for developing this tool! It is quite useful that it handles missing data unlike hmmlearn.

I was playing with the Multinomial HMM. I noticed that the learning rate was said to be 0 by default in the documentation, but it was set to 0.1 in the implementation.

I have set it to 0 so that it's aligned with the documentation and ran the example in the notebook. See Problem 3 in https://github.com/tahaceritli/HeterogeneousHMM/blob/master/examples/hmm_tutorials.ipynb. I compared it with the hmmlearn.MultinomiallHMM. The loglikelihoods are quite similar, but the estimated parameters are different. The parameters estimated via hmmlearn are very similar to the true model parameters, but I can't say the same for HeterogeneousHMM. I also tried with n_iter > 1; however, t didn't change the results.

I was wondering if you have any idea about why that might be the case.

Btw, the parameters of the true model were printed before rather than the parameters of the learned model in the example at https://github.com/fmorenopino/HeterogeneousHMM/blob/master/examples/hmm_tutorials.ipynb.

Best,
Taha

@semese
Copy link
Collaborator

semese commented Mar 31, 2022

Hi Taha,

I'd like to apologise for getting back to you so late. Thanks for contacting us with regards to this. I haven't had time yet to take a look at it, but I will make some during the upcoming week, and get back to you.

Best,
Emese

Repository owner deleted a comment from AartiKushwaha Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@tahaceritli @semese and others