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

Fixes #400 #401

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hylkedonker
Copy link

The current implementation of LinearGaussianConjugateSSM.fit_blocked_gibbs misses the part that takes care of the batching of emissions and inputs over the leading axis (issue #400 ). This pull request corrects fit_blocked_gibbs to support the "nbatch" dimension by:

  • vmaping over the forward filtering backwards sampling
  • map-reducing the sufficient statistics

This pull request is accompanied by a minimal unit test that tests batching.

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

Successfully merging this pull request may close these issues.

1 participant