probml / pyprobml

Python code for "Probabilistic Machine learning" book by Kevin Murphy
MIT License
6.53k stars 1.53k forks source link

Blackjaxified `hierarchical_binom_rats.ipynb` #990

Closed karm-patel closed 2 years ago

karm-patel commented 2 years ago

Description

Replaced pymc3 implementation with blackjax.

Figure Number

Book2 | Fig 3.13

Figures

Before PR

image

After PR

image

Issue

879

Checklist

review-notebook-app[bot] commented 2 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

karm-patel commented 2 years ago

Dr. @murphyk

  1. I've added the tutorial change_of_variable_hmc.ipynb in this PR. This notebook is merged in blackjax repo. See this PR: https://github.com/blackjax-devs/blackjax/pull/254
  2. Currently execute_current_PR_notebooks would fail until my PR of rat_tumor.csv is merged.