Skip to main content

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.

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.

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.4.5.tar.gz (26.4 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.4.5-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lampe-0.4.5.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for lampe-0.4.5.tar.gz
Algorithm Hash digest
SHA256 736f35f28f57b03eae28d3b26879b25f9de9ca99653ac10c12b9534d9445d475
MD5 c58bf23722260fa6900689a440fe412b
BLAKE2b-256 19c9856c047a143ec70a0d82a00566813f2b6703b9783fede56c736e7d1c6dd9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lampe-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for lampe-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e427b11298b26853d8bb7cce884c323961b3b7e6f3b1d4a22da80840e2cc0d39
MD5 cb5619e0c346b68a752c3ef5eda9d064
BLAKE2b-256 ed85fe21cd8eb6728febc140e4abe41d1bdff4fba3bb48e5855bfaa34b1bd952

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