-
-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug print left in release version #1560
Comments
Extra info on I took the naming from tensorflow probability, they define:
So for example, if we model our 50 observations as 3d multivariate normals, and took 4 chains, 200 draws from the posterior, then the shape of the posterior predictive would be (4, 200, 50, 3) with (4, 200) being the sample shape, 50 the batch shape and 3 the event shape. log likelihood however will not have the same shape, as the event shape is reduced. Before that PR, things worked as long as no dims were passed to the converter (the defaults are generated on a per group basis) but would fail if dims were passed given that the variables in posterior predictive and in log likelihood have the same name |
This line should be deleted, it is a remnant of some debugging I did when adding the feature. |
Describe the bug
While invoking
from_pymc3
I got unexpected output:The strings after
dim:
are names of dimensions in theInferenceData
object being created.I find this in
arviz/data/base.py
:See
arviz/arviz/data/base.py
Line 116 in 718eb31
This line should either be deleted or replaced by an equivalent logging function call.
This line in the code is gated by the parameter
skip_event_dims
which is not explained in the docstring. Seearviz/arviz/data/base.py
Line 73 in 718eb31
I'm actually not even sure what an event dimension is, as opposed to any other kind of dimension, so some more information about this parameter would be very helpful.
The text was updated successfully, but these errors were encountered: