Hello, I’ve completed assigment 2 of week 4. My code seems correct as the 2 layer model training produces the correct Cost after iteration 2499: 0.04421498215868956 and correctly predicts the testing data at 72%. But I get the following error message:
Cost after iteration 1: 0.6926114346158595
Cost after first iteration: 0.693049735659989
Cost after iteration 1: 0.6915746967050506
Cost after iteration 1: 0.6915746967050506
Cost after iteration 1: 0.6915746967050506
Cost after iteration 2: 0.6899956541494738
Error: Wrong output for variable W1.
Error: Wrong output for variable b1.
Error: Wrong output for variable W2.
Error: Wrong output for variable b2.
3 Tests passed
1 Tests failed
I don’t think I’m supposed to paste code here but I can’t seem to find the solution myself and if the code works perfectly I’m at a loss how to fix a problem that seemingly doesn’t exist. Additionally, I’m having the same problem for the 4 layer model, although, my code matches the subsequent training Cost after iteration 2499 and Prediction of 80% perfectly. How is this possible? Thanks