diff --git a/Notebooks/Chap06/6_3_Stochastic_Gradient_Descent.ipynb b/Notebooks/Chap06/6_3_Stochastic_Gradient_Descent.ipynb index 282039e..e0ac0df 100644 --- a/Notebooks/Chap06/6_3_Stochastic_Gradient_Descent.ipynb +++ b/Notebooks/Chap06/6_3_Stochastic_Gradient_Descent.ipynb @@ -518,7 +518,7 @@ " # at each step\n", " # You can use the function np.random.permutation to generate a random permutation of the n_data = data.shape[1] indices\n", " # and then just choose the first n=batch_size of these indices. Then compute the gradient update\n", - " # from just the data with these indices. More properly, you should sample with replacement, but this will do for now.\n", + " # from just the data with these indices. More properly, you should sample without replacement, but this will do for now.\n", "\n", "\n", " return phi" @@ -583,4 +583,4 @@ "outputs": [] } ] -} \ No newline at end of file +}