tomermilo / stan2tfp

A Stan-to-TFP python interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stan2tfp

Documentation Status

The new Stan compiler features a TensorFlow Probability backend, translating Stan programs to python code.

stan2tfp is a lightweight python wrapper around this functionality, allowing users to:

  • call the compiler (emitting TFP code)
  • run the code (creating a model object in the current namespace)
  • sample the model (using TFP's NUTS)

... without leaving the notebook or their favorite IDE.

The new compiler and the TFP backend are under active development. Currently only a small subset of Stan's functionality is supported. For a list of supported distributions, see ...

Installation

...

Example

...

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

A Stan-to-TFP python interface

License:MIT License


Languages

Language:Python 81.4%Language:Makefile 16.3%Language:Stan 2.3%