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",