Skip to main content

Overview

seqinf is a Python library for performing sequential simulation-based inference. It aims to complement the popular sbi package by providing top-level abstractions that enable running methods like SNPE/SNLE/etc without additional boilerplate. It also provides additional inference diagnostics and support for Bayesian NDEs and active methods (e.g., ASNPE).

Install

Installation is available through PyPI:

pip install seqinf

Dependencies

Note the version clash between sbibm's requirement for sbi, and the latest sbi. This can more or less be ignored, and if this presents an issue when installing locally, just make sure to install sbi after sbibm.

Citing this package

Although seqinf is intended for general pipelines, it was principally written to wrap ASNPE. If you use this library in your work, please cite the following:

@misc{griesemer2024activesequentialposteriorestimation,
      title={Active Sequential Posterior Estimation for Sample-Efficient Simulation-Based Inference}, 
      author={Sam Griesemer and Defu Cao and Zijun Cui and Carolina Osorio and Yan Liu},
      year={2024},
      eprint={2412.05590},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2412.05590}, 
}

Metadata

Release files for seqinf 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seqinf 0.2.1
File Size Uploaded
seqinf-0.2.1.tar.gz 61.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for seqinf 0.2.1
File Interpreter ABI Platform
seqinf-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 133.1 kB

Release files / seqinf-0.2.1.tar.gz

Download URL seqinf-0.2.1.tar.gz
Size 61.0 kB
Tags Source
SHA-256 checksum
How to use checksums
faba68c1334a1c82717b72eacd3c578711d79e36224b52d0ffce27a8d4fa03c6
BLAKE2b-256 checksum
How to use checksums
64e18da981d0ba27008700dc7d96e7cbb2bd6f62b0068c28414c5f5747694a77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.11

Release files / seqinf-0.2.1-py3-none-any.whl

Download URL seqinf-0.2.1-py3-none-any.whl
Size 72.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fcee56e62ba9c7e1ab0ab64ec553b6bafa2c6d9b297f68c6d59b1c41695bf20
BLAKE2b-256 checksum
How to use checksums
57f2cc788e5a2a706cc44d5ad9cd85a4282952526d8b0ea86417f4c84658702d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page