The sections below may still be pending. If so, the issue is still available, it simply doesn't
have specific guidance yet. Please refer to this overview of updates
Known changes needed
Changes listed in this section should all be done at some point in order to get this
notebook to a "Best Practices" state. However, these are probably not enough!
Make sure to thoroughly review the notebook and search for other updates.
General updates
Use numpy random generator (see link above for more guidance on that)
Use plot_posterior in 2nd to last cell to get the reference value added automatically: https://arviz-devs.github.io/arviz/api/generated/arviz.plot_posterior.html. Note that the hdi interval and point estimate can be hidden to keep the look very similar. I'll look into generating a filled kde too, I think it's possible.
File: https://github.com/pymc-devs/pymc-examples/blob/main/examples/pymc3_howto/data_container.ipynb Reviewers:
Known changes needed
Changes listed in this section should all be done at some point in order to get this notebook to a "Best Practices" state. However, these are probably not enough! Make sure to thoroughly review the notebook and search for other updates.
General updates
try...except
when loading data withpm.get_data
, see point 2 in https://github.com/pymc-devs/pymc3/wiki/PyMC3-Jupyter-Notebook-Style-GuideArviZ related
plot_hdi
return_inferencedata=True
everywhere, as well as inference data everywhere.plot_posterior
in 2nd to last cell to get the reference value added automatically: https://arviz-devs.github.io/arviz/api/generated/arviz.plot_posterior.html. Note that the hdi interval and point estimate can be hidden to keep the look very similar. I'll look into generating a filled kde too, I think it's possible.Notes
Exotic dependencies
None