Skip to content

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

Notifications You must be signed in to change notification settings

phelipedarc/NPE_Tutorial_CBPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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! 🚀

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published