nutpie
nutpie copied to clipboard
Add log-likelhood calculation to sampling
This allows nutpie to populate the log_likelihood group in ArviZ InferenceData objects when compute_log_likelihood=True is passed to compile_pymc_model().
Closes #150
Works in numba mode, but not jax.
Why not just use pm.compute_log_likelihood?
@ricardoV94 for calculating likelihoods during sampling? I thought that only worked after posterior sampling. I want to calculate them on the fly if I need them, rather than having another manual step.
Add it as a model deterministic then?