Skip to content

ENH: Refactor sampling in Variational Inference methods #7805

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

Open
zaxtax opened this issue May 31, 2025 · 0 comments
Open

ENH: Refactor sampling in Variational Inference methods #7805

zaxtax opened this issue May 31, 2025 · 0 comments

Comments

@zaxtax
Copy link
Contributor

zaxtax commented May 31, 2025

Context for the issue:

Right now in pymc the sample method on Approximation store the model that was used for training. This makes it harder to use variational inference with the posterior predictive sampling and other parts of the Bayesian workflow.

It would be nice if modelcontext was used here instead.

Also, it's probably time to just generate the InferenceData object directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant