Update 3_1_Shallow_Networks_I.ipynb

This commit is contained in:
udlbook
2023-12-24 17:50:50 -05:00
committed by GitHub
parent b6b121cb1d
commit c87294176f

View File

@@ -347,7 +347,7 @@
"\n", "\n",
"# Compute the least squares loss and print it out\n", "# Compute the least squares loss and print it out\n",
"loss = least_squares_loss(y_train,y_predict)\n", "loss = least_squares_loss(y_train,y_predict)\n",
"print("Your Loss = %3.3f, True value = 9.385"%(loss))\n", "print('Your Loss = %3.3f, True value = 9.385'%(loss))\n",
"\n", "\n",
"# TODO. Manipulate the parameters (by hand!) to make the function\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", "# fit the data better and try to reduce the loss to as small a number\n",