Skip to content

Commit ec39a68

Browse files
authored
Merge pull request dibgerge#15 from ncliang/patch-1
Copy/paste bug in ex2
2 parents 47a2000 + 930d4b1 commit ec39a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Exercise2/exercise2.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@
817817
"print('Cost at test theta : {:.2f}'.format(cost))\n",
818818
"print('Expected cost (approx): 3.16\\n')\n",
819819
"\n",
820-
"print('Gradient at initial theta (zeros) - first five values only:')\n",
820+
"print('Gradient at test theta - first five values only:')\n",
821821
"print('\\t[{:.4f}, {:.4f}, {:.4f}, {:.4f}, {:.4f}]'.format(*grad[:5]))\n",
822822
"print('Expected gradients (approx) - first five values only:')\n",
823823
"print('\\t[0.3460, 0.1614, 0.1948, 0.2269, 0.0922]')"

0 commit comments

Comments
 (0)