Pyro translation of Cam Davidson-Pilon et al.'s wonderful tutorial Probabilistic Programming and Bayesian Methods for Hackers. This repo is intended for anyone who would like to follow the tutorial (which is available for PyMC and TF) while getting to know Pyro. The suggested solutions try to follow the original tutorial while keeping the code as simple as possible.
Please note:
- All sampling is based on MCMC while Pyro is also a powerful tool for doing SVI
- The number of samples/iterations is set in a way that keeps time requirements low while getting reasonable results
- There may be other solutions, happy to hear your suggestions!
- Check the original tutorial for thorough explanations of the examples
Big thanks to all the contributors of the original tutorial!
If you have trouble viewing the notebooks on GitHub, check out the following links: