From 714c58bbf351d69262dc3c8282002b5af7bb1a37 Mon Sep 17 00:00:00 2001 From: Youcef Rahal Date: Mon, 4 Dec 2023 06:20:47 -0500 Subject: [PATCH 1/2] Fixes 0.1/0.01 comment/code granularity mismatch in Notebooks/Chap01/1_1_BackgroundMathematics.ipynb --- Notebooks/Chap01/1_1_BackgroundMathematics.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb b/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb index 433732d..57cf726 100644 --- a/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb +++ b/Notebooks/Chap01/1_1_BackgroundMathematics.ipynb @@ -83,7 +83,7 @@ "source": [ "# Plot the 1D linear function\n", "\n", - "# Define an array of x values from 0 to 10 with increments of 0.1\n", + "# Define an array of x values from 0 to 10 with increments of 0.01\n", "# https://numpy.org/doc/stable/reference/generated/numpy.arange.html\n", "x = np.arange(0.0,10.0, 0.01)\n", "# Compute y using the function you filled in above\n", @@ -308,7 +308,7 @@ "source": [ "# Draw the exponential function\n", "\n", - "# Define an array of x values from -5 to 5 with increments of 0.1\n", + "# Define an array of x values from -5 to 5 with increments of 0.01\n", "x = np.arange(-5.0,5.0, 0.01)\n", "y = np.exp(x) ;\n", "\n", @@ -354,7 +354,7 @@ "source": [ "# Draw the logarithm function\n", "\n", - "# Define an array of x values from -5 to 5 with increments of 0.1\n", + "# Define an array of x values from -5 to 5 with increments of 0.01\n", "x = np.arange(0.01,5.0, 0.01)\n", "y = np.log(x) ;\n", "\n", From 4696eee641b4c45887655b1aac92ce2f172820af Mon Sep 17 00:00:00 2001 From: Youcef Rahal Date: Sun, 10 Dec 2023 09:32:55 -0500 Subject: [PATCH 2/2] Notebook 3.2: Fixes missing mention of phi_13, phi_23 --- Notebooks/Chap03/3_2_Shallow_Networks_II.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notebooks/Chap03/3_2_Shallow_Networks_II.ipynb b/Notebooks/Chap03/3_2_Shallow_Networks_II.ipynb index 52375c5..19874c4 100644 --- a/Notebooks/Chap03/3_2_Shallow_Networks_II.ipynb +++ b/Notebooks/Chap03/3_2_Shallow_Networks_II.ipynb @@ -182,7 +182,7 @@ { "cell_type": "markdown", "source": [ - "Now we'll extend this model to have two outputs $y_1$ and $y_2$, each of which can be visualized with a separate heatmap. You will now have sets of parameters $\\phi_{10}, \\phi_{11},\\phi_{12}$ and $\\phi_{20}, \\phi_{21},\\phi_{22}$ that correspond to each of these outputs." + "Now we'll extend this model to have two outputs $y_1$ and $y_2$, each of which can be visualized with a separate heatmap. You will now have sets of parameters $\\phi_{10}, \\phi_{11}, \\phi_{12}$, $\\phi_{13} and $\\phi_{20}, \\phi_{21}, \\phi_{22}$, \\phi_{23}$ that correspond to each of these outputs." ], "metadata": { "id": "Xl6LcrUyM7Lh"