Simulation-based inference.
Project description
sbi
is a PyTorch package for simulation-based inference. Simulation-based
inference is the process of finding the parameters of a simulator from observations.
sbi
takes a Bayesian approach and returns a full posterior distribution over the
parameters, conditional on the observations.
sbi
offers a simple interface for one-line posterior inference
from sbi inference import infer
# import your simulator, define your prior on the parameters
parameter_posterior = infer(simulator, prior, method='SNPE')
sbi
is a community project. It is the PyTorch successor of
delfi
, and started life as a fork of Conor M.
Durkan's lfi
. Development is currently coordinated at the mackelab.
We would appreciate to hear how sbi
is working for your simulation problems, and
welcome also bug reports, pull requests and any other feedback at
github.com/mackelab/sbi.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sbi-0.8.0.tar.gz
.
File metadata
- Download URL: sbi-0.8.0.tar.gz
- Upload date:
- Size: 605.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200529 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffea87c51891d5680f6d3c7b69debd71b227aef611b2f72de171937d5508064e |
|
MD5 | 09d7c20a71e06c3a80b1e466045548af |
|
BLAKE2b-256 | 42d9cf04a1c7812f1f3e72dfe9882cb316574dc81b766c08592aee41e3b79f23 |
File details
Details for the file sbi-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: sbi-0.8.0-py3-none-any.whl
- Upload date:
- Size: 107.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200529 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8079d93b5456c31477323aaf041589dd6170ac7972349258b85ab8ac1ec0907 |
|
MD5 | 297e511bac5b5d87d2874bf8070eca15 |
|
BLAKE2b-256 | 8221d253738e5a9e710c74204b0d4533ab4386d3cc2149f7bd1893ca0819c19d |