aesara-devs / aemcmc

AeMCMC is a Python library that automates the construction of samplers for Aesara graphs representing statistical models.
https://aemcmc.readthedocs.io/en/latest/
MIT License
39 stars 11 forks source link

Construct samplers from models #24

Closed rlouf closed 2 years ago

rlouf commented 2 years ago

This is to signal that I started working on this. This does not need any review for now, I am still exploring the design.

The idea maybe to have a data structure that contains a pattern, the sampler that corresponds to this pattern, and the function that extracts the relevant components.

We'll eventually need a function that can look for these patterns in a graph, but that's for another PR.

Will close #16

rlouf commented 2 years ago

I pushed the branch on the repo. Deleting and opening a new PR from my fork.