C1W3 Bug in Programming Assignment

In excercise 3, the seed value you given doesn’t matching with the expected output which in turn causes the error. Look through it.

The problem is that you are not using the same random function that the instructions told you to use. Notice that all your output values are positive, but the expected values are both positive and negative. Please have a more careful look at the instructions.

Yeah Thanks. It is my bad. I didn’t give proper attention to the instruction it seems.

1 Like

try to change the b1, b2 parameters , change np.zeros(shape=(n_h, 1))

@Lalith: If you look carefully at the output, you’ll see that the b1 and b2 values already look correct. The problem is with the W1 and W2 values.