From d7ca8b80d47c56dc35fcc73354baf070d147c74e Mon Sep 17 00:00:00 2001 From: udlbook <110402648+udlbook@users.noreply.github.com> Date: Sun, 24 Dec 2023 11:16:55 -0500 Subject: [PATCH] Update 3_1_Shallow_Networks_I.ipynb --- Notebooks/Chap03/3_1_Shallow_Networks_I.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Notebooks/Chap03/3_1_Shallow_Networks_I.ipynb b/Notebooks/Chap03/3_1_Shallow_Networks_I.ipynb index 2de57c9..e0eb2d1 100644 --- a/Notebooks/Chap03/3_1_Shallow_Networks_I.ipynb +++ b/Notebooks/Chap03/3_1_Shallow_Networks_I.ipynb @@ -347,7 +347,7 @@ "\n", "# Compute the least squares loss and print it out\n", "loss = least_squares_loss(y_train,y_predict)\n", - "print(\"Loss = %3.3f\"%(loss))\n", + "print("Your Loss = %3.3f, True value = 9.385"%(loss))\n", "\n", "# TODO. Manipulate the parameters (by hand!) to make the function\n", "# fit the data better and try to reduce the loss to as small a number\n", @@ -362,4 +362,4 @@ "outputs": [] } ] -} \ No newline at end of file +}