Fixed setence in ex1 and comment in ex3
This commit is contained in:
0
Exercise3/Data/ex3data1.mat
Executable file → Normal file
0
Exercise3/Data/ex3data1.mat
Executable file → Normal file
0
Exercise3/Data/ex3weights.mat
Executable file → Normal file
0
Exercise3/Data/ex3weights.mat
Executable file → Normal file
0
Exercise3/Figures/neuralnetwork.png
Executable file → Normal file
0
Exercise3/Figures/neuralnetwork.png
Executable file → Normal file
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
4
Exercise3/exercise3.ipynb
Executable file → Normal file
4
Exercise3/exercise3.ipynb
Executable file → Normal 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
0
Exercise3/utils.py
Executable file → Normal file
Reference in New Issue
Block a user