glouppe / lampe

Likelihood-free AMortized Posterior Estimation with PyTorch

Home Page:https://francois-rozet.github.io/lampe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LAMPE

lampe is a simulation-based inference (SBI) package that focuses on amortized estimation of posterior distributions, without relying on explicit likelihood functions; hence the name Likelihood-free AMortized Posterior Estimation (LAMPE). The package provides PyTorch implementations of modern amortized simulation-based inference algorithms like neural ratio estimation (NRE), neural posterior estimation (NPE) and more. Similar to PyTorch, the philosophy of LAMPE is to avoid obfuscation and expose all components, from network architecture to optimizer, to the user such that they are free to modify or replace anything they like.

Installation

The lampe package is available on PyPI, which means it is installable via pip.

pip install lampe

Alternatively, if you need the latest features, you can install it from the repository.

pip install git+https://github.com/francois-rozet/lampe

Documentation

The documentation is made with Sphinx and Furo and is hosted at francois-rozet.github.io/lampe.

About

Likelihood-free AMortized Posterior Estimation with PyTorch

https://francois-rozet.github.io/lampe

License:MIT License


Languages

Language:Python 97.7%Language:CSS 1.9%Language:Shell 0.5%