UPDATE

上级 f7f1b904
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"\n", "\n",
"def costFunction(theta, X, y):\n", "def costFunction(theta, X, y):\n",
" m = len(y)\n", " m = len(y)\n",
" \n",
" J = 0\n", " J = 0\n",
" grad = np.zeros(theta.shape)\n", " grad = np.zeros(theta.shape)\n",
" \n", " \n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册