Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.59 KB

File metadata and controls

45 lines (24 loc) · 1.59 KB

Simulation-Based Inference: Neural Posterior Estimation (NPE) Tutorial

This repository contains a tutorial notebook demonstrating the implementation of Neural Posterior Estimation (NPE), a powerful method in simulation-based inference.

NPE can be employed in two primary configurations:

  • Sequential Neural Posterior Estimation (SNPE)

  • Amortized Neural Posterior Estimation (ANPE)

Usage:

Explore the world of simulation-based inference, also known as likelihood-free inference (LFI) or SBI, through this Jupyter notebook. Gain insights into the Neural Posterior Estimation method and its applications.

Installation

To use this notebook, please ensure that you have the following libraries installed:

  • PyTorch
  • NumPy
  • SBI
  • kilonovanet [Simulator]

To install the SBI package, visit https://www.mackelab.org/sbi/

Refer to the last cell of the notebook for essential functions and libraries.

Credits

This project was developed by Phelipe Darc and contributors from CBPF (2024).

Extra Reading:

Feel free to explore and contribute to advance simulation-based inference methods! 🚀