A domain-specific language and backend for probabilistic programming, used by Turing.jl.
DynamicPPL is the part of Turing.jl that deals with defining, running, and manipulating models. DynamicPPL provides:
- General-purpose probabilistic programming with an intuitive syntax.
- The
@model
syntax and macro for easily specifying probabilistic generative models. - A tracing data-structure for tracking random variables in dynamic probabilistic models.
- A rich contextual dispatch system allowing for tailored behaviour during model execution.
- A user-friendly syntax for probabilistic queries.
Information on how to use the DynamicPPL frontend to build Bayesian models can be found on the Turing website. Tutorials explaining how to use the backend can be found alongside the documentation. More information can be found in our paper DynamicPPL: Stan-like Speed for Dynamic Probabilistic Models.
If you feel you have some relevant skills and are interested in contributing, please get in touch! You can find us in the #turing channel on the Julia Slack or Discourse. If you're having any problems, please open a Github issue, even if the problem seems small (like help figuring out an error message). Every issue you open helps us improve the library!
This project uses a merge queue for merging PRs. In this way, merge skew / semantic merge conflicts are prevented by testing the exact integration of pull requests before merging them.
When a PR is good enough for merging and has been approved by at least one reviewer, instead of merging immediately, it is added to the merge queue. If the CI tests pass, including downstream tests of Turing, the PR is merged into the main branch.