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

Gibbs sampling for HMM #30

Open
slinderman opened this issue Mar 11, 2022 · 0 comments
Open

Gibbs sampling for HMM #30

slinderman opened this issue Mar 11, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@slinderman
Copy link
Contributor

HMMs with exponential family emissions admit a simple Gibbs sampling algorithm: alternate between the following two steps:

  1. Sample the discrete latent states given the parameters and data using HMMPosterior.sample()
  2. Sample the parameters from their conditional distribution given the latent states and data. This will follow the same recipe as the ExponentialFamilyEmissions.m_step(), but it will use conditional.sample() instead of conditional.mode().
@slinderman slinderman added good first issue Good for newcomers enhancement New feature or request labels Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant