Should logprob collapes logp terms across dimensions where values interact? #6457
ricardoV94
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whereas the equivalent GRW returns a scalar
This would simplify some of our uses of the logprob submodule, e.g.:
pymc/pymc/distributions/timeseries.py
Lines 236 to 249 in 1c1695e
Related discussion in the case of timeseries: #6090 (comment)
This would make sense together with #6360, so that internally we represent a MeasurableCumsum as having ndim_supp +1 from whatever the measurable input was.
On the other hand it could make some cases more difficult to handle. E.g., with Scan we can have some graphs where values are dependent and others where they aren't. This shouldn't be too hard to analyze, but would require extra logic.
Beta Was this translation helpful? Give feedback.
All reactions