You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should make sure there's an option from pm.sample to store those, besides allowing users to populate them afterwards with a helper as initially suggested in this issue
Description
Because we don't save transformed variables in the returned InferenceData (why not?) it's not easy to evaluate the model logp once we have a trace.
One could rewrite the model without transforms (and we can make this automatically for the user)This is possible with https://www.pymc.io/projects/docs/en/stable/api/model/generated/pymc.model.transform.conditioning.remove_value_transforms.htmlBut someone might still want to evaluate it in the original model (with jacobians and all that).
One dirty implementation is given here: https://discourse.pymc.io/t/logp-questions-synthetic-dataset-to-evaluate-modeling/12129/6?u=ricardov94
The text was updated successfully, but these errors were encountered: