Online Meetup: PyMC, Aesara and Aeppl: The New Kids on The Block (Jul 7, 2022)

Online Meetup: PyMC, Aesara and Aeppl: The New Kids on The Block (Jul 7, 2022)

Sign-up here

Register for the event with PyMC Online Meetup.

Notes

  • This event will be using Zoom.

Outline

  • Introduction
  • Aesara and random variables
  • Aeppl and probabilities
  • PyMC and the modern Bayesian workflow
  • Q&A

Event Description

In this talk, Ricardo Vieira will explore the inner workings of the newly released version of PyMC (v 4.0). He will take a cursory look at the Aesara backend, focusing on the brand new RandomVariable operators, which are the foundation of PyMC models. He will then talk about a self-contained PPL project (Aeppl) dedicated to converting Aesara RandomVariable graphs to probability functions. Finally, he will clarify how PyMC makes use of these two packages to create efficient random generator functions and probability evaluation functions, with the ultimate goal of facilitating a fully-fledged modern Bayesian workflow.

PyMC is a probabilistic programming library for Python that allows users to build Bayesian models with a simple Python API and fit them using Markov chain Monte Carlo (MCMC) methods.

Aesara is a Python library that allows users to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. Aesara is based on Theano (GitHub - Theano/Theano: Theano was a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It is being continued as aesara: www.github.com/pymc-devs/aesara), which has been powering large-scale computationally intensive scientific investigations since 2007.

Aeppl is a new library focused on converting (arbitrary) graphs containing Aesara RandomVariables into joint log-probability graphs. It can understand complex graphs that include nested operations, conditionals, loops, and advanced indexing, allowing one to generate rich probability functions automatically without having to muddle through the mathematical details.

Recording

In case you miss the event, subscribe to PyMC Dev on YouTube to view the recording.

About the speaker

Ricardo Vieira is a PyMC developer and data scientist at PyMC Labs. He spent several years teaching himself Statistics and Computer Science at the expense of his official degrees in Psychology and Neuroscience.

7 Likes

The video to this event is now available.

Video

4 Likes