Skip to content

Commit

Permalink
Update 2_1_Supervised_Learning.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
udlbook authored Dec 20, 2023
1 parent 97d738d commit 985c089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Notebooks/Chap02/2_1_Supervised_Learning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -250,4 +250,4 @@
"outputs": []
}
]
}
}

0 comments on commit 985c089

Please sign in to comment.