prophys.inference#
Full posterior inference for a compiled prophys model.
Optional: sampling requires the inference extra (pip install
"prophys[inference]"), which pulls in NumPyro. The package imports without
it, and sample_posterior() then raises an ImportError with an
installation hint rather than a bare ModuleNotFoundError naming a package
the user never asked for.
See prophys.inference.bridge for the entry points.
Classes
Posterior draws over a compiled model's parameters, from |
|
Posterior means, credible intervals and convergence diagnostics per parameter. |
Functions
Return the model's negative log likelihood as a NumPyro potential function. |
|
Sample the posterior over a compiled model's parameters with NUTS. |