Update 3_1_Shallow_Networks_I.ipynb
This commit is contained in:
@@ -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(\"Loss = %3.3f\"%(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",
|
||||||
@@ -362,4 +362,4 @@
|
|||||||
"outputs": []
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user