mengqvist / data_analysis_mbml

Pyro code for reproducing examples from John Winns MBML book.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reproduction of examples from MBML book using Pyro

The notebook contained in this repository is part of my journy to learn Pyro. As stated on the project webpage:

Pyro is a universal probabilistic programming language (PPL) written in Python and supported by PyTorch on the backend. Pyro enables flexible and expressive deep probabilistic modeling, unifying the best of modern deep learning and Bayesian modeling.

Specifically, I am working through the examples in the excellent Model-Based Machine Learning book (mbmlbook.com) by John Winn and trying to reproduce them using Pyro, wheras the book companion code used the Infer.NET framework.

Requirements

For this project I have made use of version 1.3.0 of Pyro. The computational environment can be installed using Miniconda (https://docs.conda.io/en/latest/miniconda.html) from the yml file environment.yml. In a terminal execute:

conda env create -f environment.yml
conda activate tf1

Status

I am actively working on this so it should by no means be considered finished...

About

Pyro code for reproducing examples from John Winns MBML book.

License:MIT License


Languages

Language:Jupyter Notebook 96.8%Language:C# 2.4%Language:HTML 0.8%