Skip to main content

Sequential inference abstractions

Project description

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}, 
}

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

seqinf-0.2.1.tar.gz (61.0 kB view details)

Uploaded Source

Built Distribution

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

seqinf-0.2.1-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

Details for the file seqinf-0.2.1.tar.gz.

File metadata

  • Download URL: seqinf-0.2.1.tar.gz
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.11

File hashes

Hashes for seqinf-0.2.1.tar.gz
Algorithm Hash digest
SHA256 faba68c1334a1c82717b72eacd3c578711d79e36224b52d0ffce27a8d4fa03c6
MD5 365358979946324d3761c80d0e977a0b
BLAKE2b-256 64e18da981d0ba27008700dc7d96e7cbb2bd6f62b0068c28414c5f5747694a77

See more details on using hashes here.

File details

Details for the file seqinf-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: seqinf-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.11

File hashes

Hashes for seqinf-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fcee56e62ba9c7e1ab0ab64ec553b6bafa2c6d9b297f68c6d59b1c41695bf20
MD5 3a448a027be3d9cfc509048fcdf29e56
BLAKE2b-256 57f2cc788e5a2a706cc44d5ad9cd85a4282952526d8b0ea86417f4c84658702d

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