Course 1, week 4, second coding assignment

When running two_layer_model_test(two_layer_model) I get an error message which includes “Error: Wrong output for variable 0.” What does it mean? Is the test working as intended? Thanks

Hi, the I changed the code slightly and it gives no error now. No need to look into it as far as I am concerned. Thanks

It’s great that you found the solution under your own power! For anyone else who sees this, the tests are correct and that tells you there was some problem with the output of your function. It’s a little hard to decipher what it means by “variable 0”, but you can actually look at the test code if you need to do understand which variable they mean. There is a topic on the FAQ Thread about how to examine the other python files that accompany the notebooks.