AePPL

AePPL is a probabilistic programming library for building and manipulating models in Aesara.

What it is

AePPL is an open source probabilistic programming library built on Aesara that lets users define and manipulate probabilistic models using Aesara graphs containing random variables. It provides tools for computing joint log probabilities and supports compilation to multiple backends including C, JAX, and Numba.

The library emphasizes intuitive model specification without requiring new syntax, exhaustive support for mathematically well defined problems, and flexibility in defining custom distributions through random variable transformations. It also supports conditioning on transformed variables and using loops and conditionals within models.

AePPL serves developers, data scientists, and researchers working on Bayesian inference, probabilistic modeling, and machine learning who want to leverage Aesara compilation ecosystem. It is particularly useful for those needing to compute model log densities and deploy models across different computational backends.

Users can install AePPL via pip, conda, or nightly builds. The documentation includes examples showing how to create random variables, compute joint log probabilities, and compile functions to C, Numba, or JAX modes. A LaTeX pretty printing feature helps visualize models.

AePPL stands out by integrating tightly with Aesara graph transformation and compilation capabilities, enabling seamless backend switching and model manipulation. Its extensible design allows custom distributions and advanced probabilistic programming patterns while maintaining compatibility with the broader Aesara ecosystem.

This description was generated by AI from the site's public content and may contain errors.

What you can do there

  • Read documentation
  • Install via pip or conda
  • View code examples
  • Compute model log densities
  • Compile models to C JAX or Numba

Who it's for

Developers and researchers building probabilistic models with Aesara

Frequently asked questions about aeppl.readthedocs.io

›What is AePPL used for?

AePPL is used for defining and manipulating probabilistic models in Aesara, computing joint log probabilities, and compiling models to various backends.

›How do I install AePPL?

You can install AePPL using pip install aeppl, conda install -c conda-forge aeppl, or pip install aeppl-nightly for the latest development version.

›Which backends does AePPL support?

AePPL supports compilation to C, JAX, and Numba backends through Aesara function modes.

›Can I define custom distributions in AePPL?

Yes, AePPL allows defining custom distributions by transforming random variables directly and conditioning on transformed random variables.

›Does AePPL work with JAX or Numba?

Yes, AePPL models can be compiled to JAX or Numba using Aesara function modes for accelerated execution.

›Where can I find examples and documentation?

The official documentation hosted on Read the Docs includes examples, installation guides, and API reference for getting started.

›Is AePPL free to use?

Yes, AePPL is an open source library freely available under its license with no cost for usage or distribution.