From 9a3517629a203b03b9c1c53e02676a96749abe16 Mon Sep 17 00:00:00 2001 From: udlbook <110402648+udlbook@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:37:05 +0100 Subject: [PATCH] Created using Colaboratory --- Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb b/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb index ff4aadd..78fd1ea 100644 --- a/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb +++ b/Notebooks/Chap03/3_3_Shallow_Network_Regions.ipynb @@ -4,7 +4,7 @@ "metadata": { "colab": { "provenance": [], - "authorship_tag": "ABX9TyPRYYQqIr5qXUiwKNtDOVqS", + "authorship_tag": "ABX9TyMz9rFbtPS4OjnNgB38OY68", "include_colab_link": true }, "kernelspec": { @@ -233,7 +233,7 @@ " for c_hidden in range(1, 200):\n", " # Iterate over different ranges of number hidden variables for different input sizes\n", " D = int(c_hidden * 500 / D_i)\n", - " params[c_dim, c_hidden] = D_i * D +1 + D +1\n", + " params[c_dim, c_hidden] = D_i * D +D + D +1\n", " regions[c_dim, c_hidden] = number_regions(np.min([D_i,D]), D)\n", "\n", "fig, ax = plt.subplots()\n", @@ -254,6 +254,15 @@ }, "execution_count": null, "outputs": [] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "LRoF6zQN9b_y" + }, + "execution_count": null, + "outputs": [] } ] } \ No newline at end of file