fenss / pymc4

A high-level probabilistic programming interface for TensorFlow Probability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyMC4 (Pre-release)

Build Status Coverage Status

High-level interface to TensorFlow Probability. Do not use for anything serious.

What works?

  • Build most models you could build with PyMC3
  • Sample using NUTS, all in TF, fully vectorized across chains (multiple chains basically become free)
  • Automatic transforms of model to the real line
  • Prior and posterior predictive sampling
  • Deterministic variables
  • Trace that can be passed to ArviZ

However, expect things to break or change without warning.

See here for an example: https://github.com/pymc-devs/pymc4/blob/master/notebooks/radon_hierarchical.ipynb See here for the design document: https://github.com/pymc-devs/pymc4/blob/master/notebooks/pymc4_design_guide.ipynb

About

A high-level probabilistic programming interface for TensorFlow Probability

License:Apache License 2.0


Languages

Language:Jupyter Notebook 91.9%Language:Python 8.0%Language:Shell 0.1%Language:Makefile 0.1%Language:Dockerfile 0.0%