lampe


Namelampe JSON
Version 0.8.2 PyPI version JSON
download
home_page
SummaryLikelihood-free AMortized Posterior Estimation with PyTorch
upload_time2023-10-04 09:24:22
maintainer
docs_urlNone
authorThe Probabilists
requires_python>=3.8
license
keywords torch simulation-based inference amortized bayesian posterior likelihood mcmc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![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": "",
    "name": "lampe",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "torch,simulation-based,inference,amortized,bayesian,posterior,likelihood,mcmc",
    "author": "The Probabilists",
    "author_email": "theprobabilists@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/01/f5/52d922d1480517513f9525bc46507c46d63eb93d2045b367287db0730ea2/lampe-0.8.2.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": "",
    "summary": "Likelihood-free AMortized Posterior Estimation with PyTorch",
    "version": "0.8.2",
    "project_urls": {
        "Documentation": "https://lampe.readthedocs.io",
        "Source": "https://github.com/probabilists/lampe",
        "Tracker": "https://github.com/probabilists/lampe/issues"
    },
    "split_keywords": [
        "torch",
        "simulation-based",
        "inference",
        "amortized",
        "bayesian",
        "posterior",
        "likelihood",
        "mcmc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd57ab47e53b8456e1ef41fc3d4339005797d6634eb06f4119ecb2ffe3812f8a",
                "md5": "735f1510bfaa1074e2ad6dfceba90d7f",
                "sha256": "e4020edb8e4839d47f6d1185b5813161c5ea9f6c83032be417e6f79cb79f0e20"
            },
            "downloads": -1,
            "filename": "lampe-0.8.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "735f1510bfaa1074e2ad6dfceba90d7f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 22250,
            "upload_time": "2023-10-04T09:24:21",
            "upload_time_iso_8601": "2023-10-04T09:24:21.241153Z",
            "url": "https://files.pythonhosted.org/packages/bd/57/ab47e53b8456e1ef41fc3d4339005797d6634eb06f4119ecb2ffe3812f8a/lampe-0.8.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "01f552d922d1480517513f9525bc46507c46d63eb93d2045b367287db0730ea2",
                "md5": "f8b3fc543f84afdf8d1955a5cb8648f3",
                "sha256": "f6b4bd86fcd699115cfd2ee56cb474521099494e37b61565244c915c54c92c0f"
            },
            "downloads": -1,
            "filename": "lampe-0.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f8b3fc543f84afdf8d1955a5cb8648f3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 24107,
            "upload_time": "2023-10-04T09:24:22",
            "upload_time_iso_8601": "2023-10-04T09:24:22.622819Z",
            "url": "https://files.pythonhosted.org/packages/01/f5/52d922d1480517513f9525bc46507c46d63eb93d2045b367287db0730ea2/lampe-0.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-04 09:24:22",
    "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"
}
        
Elapsed time: 0.11984s