image
于开帅

顺应自然,发挥主观能动性。

[转]关于梯度下降算法的详细讲解

于开帅    2019-05-08 16:31

https://www.jianshu.com/p/c7e642877b0e

代码中此处应改成

 return (1./2*m) * np.dot(np.transpose(diff), diff)

return (1./(2*m)) * np.dot(np.transpose(diff), diff)

Views: 1.5K

[[total]] comments

Post your comment
  1. [[item.time]]
    [[item.user.username]] [[item.floor]]Floor
  2. Click to load more...
  3. Post your comment