Hi, Seems like an issue with the week 1 programming assignment. Test case failing on and off for the same code. Also, “He” initialization does not give the expected output. It’s behaving worse than the random initialization.
Exactly. You used the wrong random function. The clue is all your values are positive. A normal distribution with \mu = 0 should include both positive and negative values.