Hi there, I need help with the week 3 module’s programming assignment exercise 3 of the “Neural Network and Deep Learning” course. The exercise description and the method’s docstring pretty much tell you what to do. As requested, I initialized W2 with “np.random.randn(a,b) * 0.01”. Note that the dimensions match with the expected test results. However, the “np.allclose” test fails for W2 and claims that the values are wrong.
Nevermind. It was a typo. I was missing an “n”. I accidentally typed “np.random.rand(a,b) * 0.01” instead of “np.random.randn(a,b) * 0.01”. ![]()
Nothing better than finding it out ourselves.
Cheers!
Raymond
