Likelihood-free AMortized Posterior Estimation with PyTorch
Project description
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.
As part of the inference pipeline, lampe
provides components to efficiently store and load data from disk, diagnose predictions and display results graphically.
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/probabilists/lampe
Documentation
The documentation is made with Sphinx and Furo and is hosted at lampe.readthedocs.io.
Contributing
If you have a question, an issue or would like to contribute, please read our contributing guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lampe-0.9.0.tar.gz
.
File metadata
- Download URL: lampe-0.9.0.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7144e9ca6c0aea9087ac09f45b4502335a824163e934bf48ba0bfc781156dd |
|
MD5 | cf020a00a959e6bce2f4dadc3d317ce2 |
|
BLAKE2b-256 | 142503fab0ddf71b4bebbaa1b021ddbc7711bbe54d57c7a09ad6a986bcff32a5 |
File details
Details for the file lampe-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: lampe-0.9.0-py3-none-any.whl
- Upload date:
- Size: 31.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8198844a09c31ff2ec1a43385a8a9649410c33437d3fb271052559b0c3612b7b |
|
MD5 | ee05a8a30a767bbcaf0c19d3a8d980ab |
|
BLAKE2b-256 | 8216dee75957b28fc6fd22b1ab3a7579e6ce1bd141e96819c6b0d680b05054a2 |