Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuwq0 authored Nov 25, 2024
1 parent 20d99d1 commit c3416b4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 31 deletions.
4 changes: 2 additions & 2 deletions docs/exercises/09_neural_networks1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,14 @@
"plt.scatter(\n",
"## plot the fitted line\n",
"plt.plot(\n",
"plt.title('data and a polynomial degree 2 fit')\n",
"plt.title('data and a nerual network fit')\n",
"plt.ylabel('Velocity (km s$^{-1}$)')\n",
"plt.xlabel('Distance (Mpc)')\n",
"\n",
"## plot the residuals\n",
"plt.subplot(2,1,2)\n",
"plt.scatter(\n",
"plt.title('residuals of a polynomial degree 2 fit')\n",
"plt.title('residuals of a nerual network fit')\n",
"plt.ylabel('Residual velocity (km s$^{-1}$)')\n",
"plt.xlabel('Distance (Mpc)')\n",
"\n",
Expand Down
Loading

0 comments on commit c3416b4

Please sign in to comment.