-
-
Notifications
You must be signed in to change notification settings - Fork 745
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
Rethinking_2 Chp_4: Different pymc3 output between notebook and local run #129
Comments
Hi @joannadiong thanks for getting in touch. I am very happy that these resources are useful to you. |
Hi @aloctavodia, thanks for the detailed and helpful explanation. I can manage those fixes and will keep working through the book. For where I'm at in the book now, there are minor fixes needed for the notebook: # Code 4.18
ax.imshow(zi, origin="bottom") # "bottom" would need to be "lower" And # Code 4.32
trace_df = pm.trace_to_dataframe(trace_4_1) but I think there is an open issue for this. I'm not familiar enough just yet with the packages and compiling the notebooks for pymc3 standards, but hopefully in time I'll learn enough to contribute more. Happy for you to close this issue if you feel the main things are covered. Many thanks again! |
Thanks for the report, this is all useful feedback. We should update the notebooks to directly work with ArviZ's InferenceData object. |
Hi there. I ran the following code sections in my IDE and obtained different output to the output in the Jupyter notebook.
To Reproduce
For example, I ran:
And obtained the following output, compared to the output in the notebook. The decimal place values differ between them:
There were also numeric differences in the decimal place values for the variance-covariance matrix, variances, and the correlation matrix:
The differences in numeric output don't seem to be due to rounding errors, so I'm not sure what might explain those differences. Would appreciate if you had any pointers.
I'm a Python user but new to Bayesian analysis and the pymc3 package. Thanks very much for porting all the Rethinking R code to Python. The explanations and examples are great!
Python:
Python 3.8.5 (default, Sep 4 2020, 07:30:14)
[GCC 7.3.0] on linux
pymc3 3.9.3, arviz 0.10.0
The text was updated successfully, but these errors were encountered: