Merge pull request #15 from ncliang/patch-1

Copy/paste bug in ex2
This commit is contained in:
Gerges Dib
2020-06-06 23:36:32 -07:00
committed by GitHub

View File

@@ -817,7 +817,7 @@
"print('Cost at test theta : {:.2f}'.format(cost))\n",
"print('Expected cost (approx): 3.16\\n')\n",
"\n",
"print('Gradient at initial theta (zeros) - first five values only:')\n",
"print('Gradient at test theta - first five values only:')\n",
"print('\\t[{:.4f}, {:.4f}, {:.4f}, {:.4f}, {:.4f}]'.format(*grad[:5]))\n",
"print('Expected gradients (approx) - first five values only:')\n",
"print('\\t[0.3460, 0.1614, 0.1948, 0.2269, 0.0922]')"