Fixed setence in ex1 and comment in ex3

This commit is contained in:
Dib, Gerges
2018-08-25 18:06:29 -07:00
parent 0c52aa0f14
commit 76dd66eb0b
92 changed files with 3 additions and 3 deletions

0
Exercise3/Data/ex3data1.mat Executable file → Normal file
View File

0
Exercise3/Data/ex3weights.mat Executable file → Normal file
View File

0
Exercise3/Figures/neuralnetwork.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

4
Exercise3/exercise3.ipynb Executable file → Normal file
View File

@@ -505,7 +505,7 @@
" initial_theta = np.zeros(n + 1)\n",
" \n",
" # Set options for minimize\n",
" options = {'maxiter', 50}\n",
" options = {'maxiter': 50}\n",
" \n",
" # Run minimize to obtain the optimal theta. This function will \n",
" # return a class object where theta is in `res.x` and cost in `res.fun`\n",
@@ -513,7 +513,7 @@
" initial_theta, \n",
" (X, (y == c), lambda_), \n",
" jac=True, \n",
" method='TNC')\n",
" method='TNC',\n",
" options=options) \n",
" \"\"\"\n",
" # Some useful variables\n",

0
Exercise3/utils.py Executable file → Normal file
View File