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.

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.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swyft-0.2.0-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

Details for the file swyft-0.2.0.tar.gz.

File metadata

  • Download URL: swyft-0.2.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for swyft-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c63772a9d6c45c5d03a1fd33f82af8692f5c9d190dd176b7535868f693c379aa
MD5 8c526677f402a11c1e7c81fc570fe3f9
BLAKE2b-256 7cd3ddbaeb69c8d862c5768f4d8a4c88faf07a557e809d34feb72d8f05297933

See more details on using hashes here.

File details

Details for the file swyft-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: swyft-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 60.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for swyft-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83e437ff2beed0901c3d5c2f298c9dfd0c07e9fce65cc3e3ad97b60c015a8ead
MD5 a96b83ee0778c916224e439e116d0aed
BLAKE2b-256 fa91ea74db55a0ce1f771266f0496652c6830ba4557f6af7af9f91a746cc4db8

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