Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第二章week1梯度检验编程作业有误 #14

Closed
zhuzilong2013 opened this issue Nov 3, 2018 · 0 comments
Closed

第二章week1梯度检验编程作业有误 #14

zhuzilong2013 opened this issue Nov 3, 2018 · 0 comments

Comments

@zhuzilong2013
Copy link

第二章week1第三个编程作业-梯度检验,最后一个代码块中的
numerator = np.linalg.norm(gradapprox - grad)
应该改为
numerator = np.linalg.norm(grad- gradapprox)
这样最后的结果会和样例输出相同。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant