![LAMPE's banner](https://raw.githubusercontent.com/probabilists/lampe/master/docs/images/banner.svg)
# 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](https://pytorch.org) 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](lampe/data.py) from disk, [diagnose predictions](lampe/diagnostics.py) and [display results](lampe/plots.py) graphically.
## Installation
The `lampe` package is available on [PyPI](https://pypi.org/project/lampe), 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](https://www.sphinx-doc.org) and [Furo](https://github.com/pradyunsg/furo) and is hosted at [lampe.readthedocs.io](https://lampe.readthedocs.io).
## Contributing
If you have a question, an issue or would like to contribute, please read our [contributing guidelines](https://github.com/probabilists/lampe/blob/master/CONTRIBUTING.md).
Raw data
{
"_id": null,
"home_page": null,
"name": "lampe",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "torch, simulation, inference, amortized, bayesian, posterior, likelihood, mcmc",
"author": null,
"author_email": "The Probabilists <theprobabilists@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/14/25/03fab0ddf71b4bebbaa1b021ddbc7711bbe54d57c7a09ad6a986bcff32a5/lampe-0.9.0.tar.gz",
"platform": null,
"description": "![LAMPE's banner](https://raw.githubusercontent.com/probabilists/lampe/master/docs/images/banner.svg)\n\n# LAMPE\n\nLAMPE 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](https://pytorch.org) 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.\n\nAs part of the inference pipeline, `lampe` provides components to efficiently [store and load data](lampe/data.py) from disk, [diagnose predictions](lampe/diagnostics.py) and [display results](lampe/plots.py) graphically.\n\n## Installation\n\nThe `lampe` package is available on [PyPI](https://pypi.org/project/lampe), which means it is installable via `pip`.\n\n```\npip install lampe\n```\n\nAlternatively, if you need the latest features, you can install it from the repository.\n\n```\npip install git+https://github.com/probabilists/lampe\n```\n\n## Documentation\n\nThe documentation is made with [Sphinx](https://www.sphinx-doc.org) and [Furo](https://github.com/pradyunsg/furo) and is hosted at [lampe.readthedocs.io](https://lampe.readthedocs.io).\n\n## Contributing\n\nIf you have a question, an issue or would like to contribute, please read our [contributing guidelines](https://github.com/probabilists/lampe/blob/master/CONTRIBUTING.md).\n",
"bugtrack_url": null,
"license": null,
"summary": "Likelihood-free AMortized Posterior Estimation with PyTorch",
"version": "0.9.0",
"project_urls": {
"documentation": "https://lampe.readthedocs.io",
"source": "https://github.com/probabilists/lampe",
"tracker": "https://github.com/probabilists/lampe/issues"
},
"split_keywords": [
"torch",
" simulation",
" inference",
" amortized",
" bayesian",
" posterior",
" likelihood",
" mcmc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8216dee75957b28fc6fd22b1ab3a7579e6ce1bd141e96819c6b0d680b05054a2",
"md5": "ee05a8a30a767bbcaf0c19d3a8d980ab",
"sha256": "8198844a09c31ff2ec1a43385a8a9649410c33437d3fb271052559b0c3612b7b"
},
"downloads": -1,
"filename": "lampe-0.9.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee05a8a30a767bbcaf0c19d3a8d980ab",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 31586,
"upload_time": "2024-07-20T21:52:16",
"upload_time_iso_8601": "2024-07-20T21:52:16.141317Z",
"url": "https://files.pythonhosted.org/packages/82/16/dee75957b28fc6fd22b1ab3a7579e6ce1bd141e96819c6b0d680b05054a2/lampe-0.9.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "142503fab0ddf71b4bebbaa1b021ddbc7711bbe54d57c7a09ad6a986bcff32a5",
"md5": "cf020a00a959e6bce2f4dadc3d317ce2",
"sha256": "2d7144e9ca6c0aea9087ac09f45b4502335a824163e934bf48ba0bfc781156dd"
},
"downloads": -1,
"filename": "lampe-0.9.0.tar.gz",
"has_sig": false,
"md5_digest": "cf020a00a959e6bce2f4dadc3d317ce2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 28149,
"upload_time": "2024-07-20T21:52:17",
"upload_time_iso_8601": "2024-07-20T21:52:17.768874Z",
"url": "https://files.pythonhosted.org/packages/14/25/03fab0ddf71b4bebbaa1b021ddbc7711bbe54d57c7a09ad6a986bcff32a5/lampe-0.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-20 21:52:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "probabilists",
"github_project": "lampe",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "lampe"
}