Skip to main content

Fast, parallel and lightweight simulation-based inference in JAX.

Project description

sbiax

Fast, lightweight and parallel simulation-based inference.

sbiax is a lightweight library for simulation-based inference (SBI) with a fixed-grid of simulations.

The design puts the neural density estimator (NDE) models at the centre of the code, allowing for flexible combinations of different models.


[!WARNING] :building_construction: Note this repository is under construction, expect changes. :building_construction:

Design

A typical inference with SBI occurs with

  • fitting a density estimator to a set of simulations and parameters ${\xi, \pi}$ that may be compressed to summary statistics,
  • the measurement of a datavector $\hat{\xi}$,
  • the sampling of a posterior $p(\pi|\hat{\xi})$ conditioned on the measurement $\hat{\xi}$.

sbiax is designed to perform such an inference.


Usage

Install via

pip install sbiax

and have a look at examples.

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

sbiax-0.0.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

sbiax-0.0.0-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file sbiax-0.0.0.tar.gz.

File metadata

  • Download URL: sbiax-0.0.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for sbiax-0.0.0.tar.gz
Algorithm Hash digest
SHA256 e9c95f691160526d3b5fb541df160b28d36506189b80e78ccd86fd059b84344a
MD5 deb548855be88df75c25c549823494e6
BLAKE2b-256 4074cb40c8a2b8699bbc041785c9a5b7f3843522fb1fffd70f704e2bc3494162

See more details on using hashes here.

File details

Details for the file sbiax-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: sbiax-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for sbiax-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 913baa6548f720caf837de17a641e6592bc39d90fc23dbcdeac29edbda3ced68
MD5 8025053e1811faf40f7bb10cad0585de
BLAKE2b-256 e155a76f275ebb471a1b84d85bb5360aca582d213091961073375a4f4bc4321b

See more details on using hashes here.

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