ascentai / mdn_pyro

Implementation of a Mixture Density Network in the deep probabilistic programming language Pyro.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mixture density network in Pyro

This script implements a simple Mixture Density Network in Pyro, a probabilistic programming language built on top of PyTorch. It uses the same example data as in Bishops's book (Bishop, C. M. (2013). Pattern Recognition and Machine Learning) and is based on the pytorch implementation of David Ha, https://github.com/hardmaru/pytorch_notebooks/blob/master/mixture_density_networks.ipynb

Samples from the model

See http://pyro.ai/ for documentation on pyro and the following tutorials for more specific information on discrete enumeration and Gaussian Mixture models in Pyro:

Requirements

  • pyro (0.3.0)
  • pytorch (1.0.0)
  • numpy
  • matplotlib

About

Implementation of a Mixture Density Network in the deep probabilistic programming language Pyro.

License:MIT License


Languages

Language:Python 100.0%