Skip to content

ENH: Refactor sampling in Variational Inference methods #7805

Open
@zaxtax

Description

@zaxtax

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions