Skip to content

nicolossus/pylfi

Repository files navigation

pyLFI

PyPI version python compatibility Documentation Status Tests GitHub license

pyLFI is a Python toolbox for Bayesian parameter estimation in models with intractable likelihood functions. By using Likelihood-Free Inference (LFI) schemes, in particular Approximate Bayesian Computation (ABC), pyLFI estimates the posterior distributions over model parameters.

Overview

pyLFI presently includes the following methods:

  • Rejection ABC
  • MCMC ABC
  • Post-sampling regression adjustment.

pyLFI was created as a part of the author's Master thesis.

Installation instructions

Install with pip

pyLFI can be installed directly from PyPI:

$ pip install pylfi

Requirements

  • Python >= 3.8

Documentation

Documentation can be found at pylfi.readthedocs.io.

Getting started

Check out the Examples gallery in the documentation.

Automated build and test

The repository uses continuous integration (CI) workflows to build and test the project directly with GitHub Actions. Tests are provided in the tests folder. Run tests locally with pytest:

$ python -m pytest tests -v

About

pyLFI is a Python toolbox using likelihood-free inference (LFI) methods for estimating the posterior distributions of model parameters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages