Skip to content

tomermilo/stan2tfp

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages