Beta parameter in Gamma RV displays as f() in Latex due to TrueDiv
scalar Op
#6261
Replies: 5 comments 1 reply
-
Yeah, it's because Aesara or PyMC uses the rate and the other uses the shape parametrization |
Beta Was this translation helpful? Give feedback.
-
Should the Latex display be adapted just for the Gamma distribution? Are there other instances of a |
Beta Was this translation helpful? Give feedback.
-
It's not incorrect though. If you used the mu/sigma parametrization you would also always get |
Beta Was this translation helpful? Give feedback.
-
Okay, I see what you mean. I'm not the biggest fan of seeing |
Beta Was this translation helpful? Give feedback.
-
@larryshamalama yes that would be too specific a change. You might want to study https://github.com/aesara-devs/aeppl/blob/main/aeppl/printing.py (and https://github.com/aesara-devs/aeppl/blob/main/tests/test_printing.py) to get some ideas of how a more general solution may work. I agree that it would be great to get rid of most of those opaque |
Beta Was this translation helpful? Give feedback.
-
yields$a \sim \text{Gamma}(1, f())$ due to the second parameter/last input being an
Elemwise{true_div,no_inplace}.0
. dprint yields:Beta Was this translation helpful? Give feedback.
All reactions