跳到主要内容

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

于开帅    2019年5月8日 16:31:04

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)

浏览: 1.8K

[[total]] 条评论

添加评论
  1. [[item.time]]
    [[item.user.username]] [[item.floor]]楼
  2. 点击加载更多……
  3. 添加评论