Most Bayesian inference methods rely on the ability to calculate the likelihood, i.e. the probability of the data given the model parameters. For many domains, this likelihood function is intractable or unknown, but one can specify a (stochastic) simulator function. Approximate Bayesian Computation (ABC) methods (also called Likelihood Free Inference) tackle this problem by circumventing calculation of the likelihood.
This package containt implementation of basic ABC algorithms and standard toy examples for ABC problems.
The acm2017_pyabc
package provides the following sampling-based ABC algorithms:
In addition, it implements a more recent approach called Bayesian Optimization for Likelihood Free Inference (BOLFI).
There are also first attempts at implementing a Regression ABC method called Bayesian Conditional Density Estimation Using Mixture Density Networks methods in PyTorch (see this notebook).
We also implemented a framework for toy problems that provides access to simulator functions and summary statistics and is easy to new problems. The following examples from the ABC literature are already implemented:
For an introduction on how to perform inference with the acm2017_pyabc
package, see the HowTo notebook.