From 2eb8eebf7025af001777f7a179581978e1524cff Mon Sep 17 00:00:00 2001 From: Youcef Rahal Date: Wed, 13 Dec 2023 19:53:04 -0500 Subject: [PATCH] Typo fixes --- Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb b/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb index 6f45ebf..f078305 100644 --- a/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb +++ b/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb @@ -48,7 +48,7 @@ "import numpy as np\n", "# Imports plotting library\n", "import matplotlib.pyplot as plt\n", - "# Imports math libray\n", + "# Imports math library\n", "import math" ], "metadata": { @@ -102,7 +102,7 @@ { "cell_type": "code", "source": [ - "# Calculate the number of regions for 10D input (Di=2) and 50 hidden units (D=50)\n", + "# Calculate the number of regions for 10D input (Di=10) and 50 hidden units (D=50)\n", "N = number_regions(10, 50)\n", "print(f\"Di=10, D=50, Number of regions = {int(N)}, True value = 13432735556\")" ], @@ -126,7 +126,7 @@ { "cell_type": "code", "source": [ - "# Show that calculation fails when $D_i < D$\n", + "# Show that calculation fails when $D_i > D$\n", "try:\n", " N = number_regions(10, 8)\n", " print(f\"Di=10, D=8, Number of regions = {int(N)}, True value = 256\")\n",