Skip to content

bayesflow-org/bf2-paper-case-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Python

This repository presents the replication material for the JSS submission titled

BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Python

The code was tested using BayesFlow v2.0.10 (f9a7f2f) with the JAX backend.

Installation

The simplest way is to install all dependencies from the pyproject.toml using uv:

uv venv
uv sync

Running the Case Study

You can run the full case study using one of the following:

uv run case-study.py
python case-study.py

Figures are generated in the figures directory. A log file of all output is further saved as 'case-study.out'.

Reproducibility

Note that despite all efforts to ensure reproducibility, small differences in the results may occur due to differences in software versions and hardware.

Citation

If you find this work or the corresponding paper useful, please consider citing the following:

@article{kuhmichel2026bayesflow,
  title={{BayesFlow} 2: Multi-backend amortized {B}ayesian inference in Python},
  author={Kühmichel, Lars and Huang, Jerry M and Pratz, Valentin and Arruda, Jonas and Olischläger, Hans and Habermann, Daniel and Kucharsky, Simon and Elsemüller, Lasse and Mishra, Aayush and Bracher, Niels and Jedhoff, Svenja and Schmitt, Marvin and Bürkner, Paul-Christian and Radev, Stefan T},
  journal={arXiv preprint arXiv:2602.07098},
  year={2026}
}

About

Supplemental materials for the BayesFlow 2.0 paper at the Journal of Statistical Software

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages