Does model.logp(..., jacobian=False) do anything? #8114
-
|
So I tried l1 = model.logp(jacobian=True)
l2 = model.logp(jacobian=False)and l1 and l2 are identical graphs except for the name of the head node. I looked into the source code but haven't found how Is this some sort of legacy from Also, the docstring for model.logp is mixed up. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Yes it does something, perhaps you have a model without transforms (like just normal variates). Try with with pm.Model() as m:
x = pm.Exponential("x", 1)Which has a log transform on x and a jacobian correction |
Beta Was this translation helpful? Give feedback.
Yes it does something, perhaps you have a model without transforms (like just normal variates). Try with
Which has a log transform on x and a jacobian correction