pymc-devs/pymc

Add function that goes from transformed space to untransformed space

已關閉

#6,721 建立於 2023年5月18日

 (3 則留言) (0 個反應) (0 位負責人)Python (1,902 個分叉)batch import
enhancementshelp wantedtrace-backend

倉庫指標

星標
 (7,926 顆星)
PR 合併指標
 (平均合併 11天) (30 天內合併 7 個 PR)

描述

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.html

But 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

貢獻者指南