Programming Assignment Logistic Regression with a Neural Network Mindset

Yes, it is possible to pass this assignment. Note that an error in the 4th or 5th decimal place is not a rounding error: it is a real error, indicating that something is wrong with your code. Are you sure you are handing the learning rate correctly and not hard-coding the value?

You don’t say which function is the one failing the test here. Is it optimize or model? Are you sure that your propagate code passes the tests for that function?

It would help to see the complete error trace you are getting and not just the single failing assertion.

1 Like