Hi,
My answers have passed all of the sections, but the wrong answer is being given at testing the model.
Expected accuracy is 90% but my model is getting 58%. As I am not getting any errors and all steps to this point have worked I am struggling to debug.
Please help me understand what is wrong.
Thanks
Greg
Hi @Gregor_Elliott ,
Here is my suggestion for debugging:
- These unit tests are not the full test, they are there to give some confidence of the code.
- Make sure no hard-coded value is used, only passing parameter in function call.
- You can compare the cost output from the nn_model() test and the test using the Planar_data to see what is happening. The output of the cost should be decreasing in both cases, if it is not, then find out why not.
Also, you have posted this query in the MLS Course1 forum. Your query should be in DLS course 1. You will get a quicker response by posting in the forum dedicated for the course.