Skip to main content

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/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.

Metadata

Release files for lampe 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lampe 0.9.0
File Size Uploaded
lampe-0.9.0.tar.gz 28.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lampe 0.9.0
File Interpreter ABI Platform
lampe-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 59.7 kB

Release files / lampe-0.9.0.tar.gz

Download URL lampe-0.9.0.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2d7144e9ca6c0aea9087ac09f45b4502335a824163e934bf48ba0bfc781156dd
BLAKE2b-256 checksum
How to use checksums
142503fab0ddf71b4bebbaa1b021ddbc7711bbe54d57c7a09ad6a986bcff32a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.18

Release files / lampe-0.9.0-py3-none-any.whl

Download URL lampe-0.9.0-py3-none-any.whl
Size 31.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8198844a09c31ff2ec1a43385a8a9649410c33437d3fb271052559b0c3612b7b
BLAKE2b-256 checksum
How to use checksums
8216dee75957b28fc6fd22b1ab3a7579e6ce1bd141e96819c6b0d680b05054a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.0

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page