Skip to main content

Nested ratio estimation and inhomogeneous poisson point process sample caching for simulator efficient marginal posterior estimation.

Project description

PyPI version Tests Syntax codecov Documentation Status Contributions welcome Code style: black

Check out the quickstart notebook --> Open In Colab

This is a beta release. If you encounter problems, please contact the authors or submit a bug report.

SWYFT

Truncated marginal neural ratio estimation

Installation

After installing pytorch, please run the command:

pip install swyft

Documentation

Detailed documentation can be found on readthedocs.

Instruction videos

Academic videos

Related tools and repositories

  • Our repository applying swyft to benchmarks and example inference problems is available at tmnre.
  • sbi is a collection of likelihood-free / simulator-based methods

Citing

If you use swyft in scientific publications, please cite one or both:

Truncated Marginal Neural Ratio Estimation. Benjamin Kurt Miller, Alex Cole, Patrick Forré, Gilles Louppe, Christoph Weniger. https://arxiv.org/abs/2107.01214

Simulation-efficient marginal posterior estimation with swyft: stop wasting your precious time. Benjamin Kurt Miller, Alex Cole, Gilles Louppe, Christoph Weniger. https://arxiv.org/abs/2011.13951

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

swyft-0.2.1.tar.gz (1.8 MB view hashes)

Uploaded Source

Built Distribution

swyft-0.2.1-py3-none-any.whl (59.8 kB view hashes)

Uploaded Python 3

Supported by

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