All Projects → fehiepsi → Rethinking Pyro

fehiepsi / Rethinking Pyro

Licence: mit
Statistical Rethinking with PyTorch and Pyro

Projects that are alternatives of or similar to Rethinking Pyro

Bayesian Analysis Recipes
A collection of Bayesian data analysis recipes using PyMC3
Stars: ✭ 479 (+312.93%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Rhat ess
Rank-normalization, folding, and localization: An improved R-hat for assessing convergence of MCMC
Stars: ✭ 19 (-83.62%)
Mutual labels:  bayesian-inference, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Rstanarm
rstanarm R package for Bayesian applied regression modeling
Stars: ✭ 285 (+145.69%)
Mutual labels:  bayesian-inference, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Stan
Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
Stars: ✭ 2,177 (+1776.72%)
Mutual labels:  bayesian-inference, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Shinystan
shinystan R package and ShinyStan GUI
Stars: ✭ 172 (+48.28%)
Mutual labels:  bayesian-inference, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Bayesian Stats Modelling Tutorial
How to do Bayesian statistical modelling using numpy and PyMC3
Stars: ✭ 480 (+313.79%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-data-analysis, bayesian-statistics
Dynamichmc.jl
Implementation of robust dynamic Hamiltonian Monte Carlo methods (NUTS) in Julia.
Stars: ✭ 172 (+48.28%)
Mutual labels:  bayesian-inference, bayesian-statistics, bayesian-methods
Rethinking Tensorflow Probability
Statistical Rethinking (2nd Ed) with Tensorflow Probability
Stars: ✭ 152 (+31.03%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-statistics
LogDensityProblems.jl
A common framework for implementing and using log densities for inference.
Stars: ✭ 26 (-77.59%)
Mutual labels:  bayesian-methods, bayesian-inference, bayesian-data-analysis
Dbda Python
Doing Bayesian Data Analysis, 2nd Edition (Kruschke, 2015): Python/PyMC3 code
Stars: ✭ 502 (+332.76%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-data-analysis
Pymc Example Project
Example PyMC3 project for performing Bayesian data analysis using a probabilistic programming approach to machine learning.
Stars: ✭ 90 (-22.41%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-data-analysis
Bda py demos
Bayesian Data Analysis demos for Python
Stars: ✭ 781 (+573.28%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-data-analysis
Probflow
A Python package for building Bayesian models with TensorFlow or PyTorch
Stars: ✭ 95 (-18.1%)
Mutual labels:  bayesian-inference, bayesian-statistics, bayesian-methods
Pymc3 vs pystan
Personal project to compare hierarchical linear regression in PyMC3 and PyStan, as presented at http://pydata.org/london2016/schedule/presentation/30/ video: https://www.youtube.com/watch?v=Jb9eklfbDyg
Stars: ✭ 110 (-5.17%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-methods
Rstan
RStan, the R interface to Stan
Stars: ✭ 760 (+555.17%)
Mutual labels:  bayesian-inference, bayesian-data-analysis, bayesian-statistics
Resources
PyMC3 educational resources
Stars: ✭ 930 (+701.72%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-statistics
Bayesian Cognitive Modeling In Pymc3
PyMC3 codes of Lee and Wagenmakers' Bayesian Cognitive Modeling - A Pratical Course
Stars: ✭ 93 (-19.83%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-methods
Da Tutorials
Course on data assimilation (DA)
Stars: ✭ 43 (-62.93%)
Mutual labels:  jupyter-notebook, bayesian-methods
Hmm for autonomous driving
🎓 Educational application of Hidden Markov Model to Autonomous Driving 🚕🚙🚗
Stars: ✭ 39 (-66.38%)
Mutual labels:  jupyter-notebook, bayesian-inference
Bnlearn
Python package for learning the graphical structure of Bayesian networks, parameter learning, inference and sampling methods.
Stars: ✭ 51 (-56.03%)
Mutual labels:  jupyter-notebook, bayesian-inference

Statistical Rethinking with PyTorch and Pyro

Status: Codes in this repository have not been updated to the latest Pyro versions. Please check out https://github.com/fehiepsi/rethinking-numpyro repository for the updated codes of 2nd edition in NumPyro.

Statistical Rethinking is an excellent book for applied Bayesian data analysis. The accompanying codes for the book are written in R and Stan. They are then ported to Python language using PyMC3. Recently, Pyro emerges as a scalable and flexible Bayesian modeling tool (see its tutorial page), so to attract statisticians to this new library, I decided to make a Pyronic version for the codes in this repository. Inspired by the PyMC3onic version, I keep the codes in this repository as close as possible to the original codes in the book.

To say a bit more about Pyro, it is a universal probabilistic programming language which is built on top of PyTorch, a very popular platform for deep learning. If you are familiar with numpy, the transition from numpy.array to torch.tensor is rather straightforward (as demonstrated in this tutorial).

How to read the notebooks

Installation

pip install jupyter pandas pyro-ppl seaborn torch
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].