From 9b2b30d4ccb36029b9647a7224fabc4faf2c5b24 Mon Sep 17 00:00:00 2001 From: udlbook <110402648+udlbook@users.noreply.github.com> Date: Fri, 23 Feb 2024 12:32:39 -0500 Subject: [PATCH] Update 17_3_Importance_Sampling.ipynb --- Notebooks/Chap17/17_3_Importance_Sampling.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notebooks/Chap17/17_3_Importance_Sampling.ipynb b/Notebooks/Chap17/17_3_Importance_Sampling.ipynb index 05b98ca..8f31414 100644 --- a/Notebooks/Chap17/17_3_Importance_Sampling.ipynb +++ b/Notebooks/Chap17/17_3_Importance_Sampling.ipynb @@ -387,7 +387,7 @@ "def compute_expectation2b(n_samples):\n", " # TODO -- complete this function\n", " # 1. Draw n_samples from auxiliary distribution\n", - " # 2. Compute f[y] for those samples\n", + " # 2. Compute f2[y] for those samples\n", " # 3. Scale the results by pr_y / q_y\n", " # 4. Compute the mean of these weighted samples\n", " # Replace this line\n",