Update 2_1_Supervised_Learning.ipynb

This commit is contained in:
udlbook
2023-12-20 15:19:07 -05:00
committed by GitHub
parent 97d738d408
commit 985c08950e

View File

@@ -213,7 +213,7 @@
"\n",
"# Make a 2D array for the losses\n",
"all_losses = np.zeros_like(phi1_mesh)\n",
"# Run throught each 2D combination of phi0, phi1 and compute loss\n",
"# Run through each 2D combination of phi0, phi1 and compute loss\n",
"for indices,temp in np.ndenumerate(phi1_mesh):\n",
" all_losses[indices] = compute_loss(x,y, phi0_mesh[indices], phi1_mesh[indices])\n"
],
@@ -250,4 +250,4 @@
"outputs": []
}
]
}
}