Could someone please help me on this…I’ve been stuck on it for hours and I don’t know where the error is.
The output I get is very similar to the expected output, although it doesn’t successfully pass the tests.
Could someone help please?
Hi @Rawan_Gamil ,
In the nn_model() function, the variable parameters should be initialized by calling the initialize_parameters() function and passing the arguments n_x and n_y, because the weights matrix, W, and bias, b should be created according to the network structure. In the initialize_parameters() function where the values in W matrix are generated randomly, and those for b vector are set to zeros.
2 Likes
Thank youu ! I solved the problem and it worked.