Skip to main content

Likelihood-free AMortized Posterior Estimation with PyTorch

Project description

LAMPE's banner

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/francois-rozet/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lampe-0.8.1.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lampe-0.8.1-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file lampe-0.8.1.tar.gz.

File metadata

  • Download URL: lampe-0.8.1.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for lampe-0.8.1.tar.gz
Algorithm Hash digest
SHA256 17b812004a2e10706b1447b305f7b511f20986bf24199424ccc9b28ee677df11
MD5 4f8bc7d6e51a52297166a708b244e96e
BLAKE2b-256 a1acce4e5406a62a6adb5d6419ef1cb1c4454fc20a1f645325c96d9706dbd955

See more details on using hashes here.

File details

Details for the file lampe-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: lampe-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for lampe-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58dfe4cae188929b5e734e2d66993df9c84a458cdd07325dd16997bb1849f65d
MD5 d10f33b03b24016422563ef0c949b605
BLAKE2b-256 96ed1dac40a631e7c9a973fad4c3b786439bebbc62cfdbc8cc502b2a4641424a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page