Skip to main content

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

Project description

Open In Colab Documentation Status Code style: black

Disclaimer: swyft is research software under heavy development and still in its alpha phase. There are many rough edges, and things might break. However, the core algorithms work, and we use swyft in production for research papers. If you encounter problems, please contact the authors or submit a bug report.


Neural nested marginal posterior estimation

Cursed by the dimensionality of your nuisance space? Wasted by Markov chains that reject your simulations? Exhausted from messing with simplistic models, because your inference algorithm cannot handle the truth? Try swyft for some pain relief.

For a quickstart guide, documentation, and more see readthedocs.

A simple example is avaliable on google colab.


After installing pytorch, please run the command:

pip install swyft

Relevant Tools

swyft exists in an ecosystem of posterior estimators. The project sbi is particularly relevant as it is a collection of likelihood-free / simulator-based methods.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for swyft, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size swyft-0.1.0.tar.gz (876.1 kB) File type Source Python version None Upload date Hashes View
Filename, size swyft-0.1.0-py3-none-any.whl (24.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page