Pangolin API docs#
Pangolin’s goal is to be the world’s friendliest probabilistic programming language.
Quickstart:
Use
pangolin.interfaceto define probabilistic models in a cheerful interface.Use
pangolin.jax_backendto compile probabilistic models into plain JAX functions (to be used independently of the rest of Pangolin).Use
pangolin.torch_backendto compile probabilistic models into plain pytorch functions (to be used independently of the rest of Pangolin).Use
pangolin.blackjaxto easily call Blackjax to do inference on probabilistic models.
In addition, there are three “private” submodules that end-users would not typically interact with:
pangolin.util- Various internal utility functions.pangolin.dag- Utilities for interacting with directed acyclic graphs (DAGs).pangolin.ir- The internal representation (IR) for probabilistic models in Pangolin.