Skip to content

Ian-Buckley/Probabilisitic-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Probabilistic programming in python, R & F#

Overview

A collection of Microsoft Azure Notebooks (Jupyter notebooks hosted on Azure) providing demonstrations of probabilistic programming using the following frameworks:

  • Infer.NET "Infer.NET is a framework for running Bayesian inference in graphical models. It can also be used for probabilistic programming" NOW OPEN SOURCE!
  • Stan "Stan is freedom-respecting, open-source software for facilitating statistical inference at the frontiers of applied statistics."
  • PyMC (currently at PyMC3, with PyMC4 in the works) "PyMC3 is a Python package for Bayesian statistical modeling and probabilistic machine learning which focuses on advanced Markov chain Monte Carlo and variational fitting algorithms."
  • Edward "A library for probabilistic modeling, inference, and criticism."

using the three supported languages of python, R & F#.

For

Authors & attribution

Nearly all of these collected notebooks & snippets are not written by me (Ian). I have made only small modifications to existing code to make it run on Azure Notebooks, usually a question of installing the correct packages & copying over input files such as data & Stan script files. The original authors are attributed but are requested to contact me to remove any material that they would prefer not to have hosted here. Some of the Infer.NET examples have been translated from C# to F#.

What is in the folders?

  • Demos for each framework
  • FSharp
    • Probability computation expression (monad)
    • Monty Hall
    • Language-oriented programming

Getting started with Azure Notebooks

Applications of Bayesian inference

Bayesian machine learning

Bayesian deep learning

Supervised learning & regression

Economics & finance

Model-based machine learning

Statistical inference frameworks

Infer.NET OPEN SOURCE

Winn, John Michael, and Christopher Bishop. 2018. Model-Based Machine Learning. Taylor & Francis Group. http://www.mbmlbook.com/.
Abstract: This book is unusual for a machine learning text book in that the authors do not review dozens of different algorithms. Instead they introduce all of the key ideas through a series of case studies involving real-world applications. Case studies play a central role because it is only in the context of applications that it makes sense to discuss modelling assumptions. Each chapter therefore introduces one case study which is drawn from a real-world application that has been solved using a model-based approach.

To do

Stan

  • Stan "Stan is freedom-respecting, open-source software for facilitating statistical inference at the frontiers of applied statistics."
    To do

PyMC

  • PyMC (currently at PyMC3, with PyMC4 in the works) "PyMC3 is a Python package for Bayesian statistical modeling and probabilistic machine learning which focuses on advanced Markov chain Monte Carlo and variational fitting algorithms."
    To do

Edward

  • Edward "A library for probabilistic modeling, inference, and criticism."
    To do

Getting started in probabilistic programming & statistical inference

To do

About

A collection of [Microsoft Azure Notebooks](https://notebooks.azure.com/) ([Jupyter notebooks](http://jupyter.org/) hosted on [Azure](https://azure.microsoft.com/)) providing demonstrations of [probabilistic programming](https://www.oreilly.com/ideas/probabilistic-programming) using the following frameworks: \* [Infer.NET](http://infernet.azurew…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published