Examples#

This page provides links and descriptions for example notebooks and scripts demonstrating the use of GenSBI. Every notebook is a self-contained example that can be run independently. All examples are available in the GenSBI-examples repository.

Unconditional density estimation#

These examples demonstrate how to use density estimation techniques in a 2D space, using flow matching and diffusion models.

Posterior density estimation: SBI Benchmarks#

This series of examples demostrate how to use GenSBI for posterior density estimation on a series of SBI benchmarks. We adopt either the Flux1 or Simformer models for this task.