From 0d39e70557dad1d55b4eb68238400f6fe58e3a39 Mon Sep 17 00:00:00 2001 From: Michael Deistler Date: Thu, 29 Aug 2024 15:40:36 +0200 Subject: [PATCH] Rename `SNPE` to `NPE` in the README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de53aff37..1b9b506a6 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,9 @@ Beyond inference, `sbi` also provides: Getting started with `sbi` is straightforward, requiring only a few lines of code: ```python -from sbi.inference import SNPE +from sbi.inference import NPE # Given: parameters theta and corresponding simulations x -inference = SNPE(prior=prior) +inference = NPE(prior=prior) inference.append_simulations(theta, x).train() posterior = inference.build_posterior() ```