Excuse me, I have got 95% in this assignment, those 5 points are lost from the nn_model exercise, I read the previous topics but I didn’t find a solution, including renaming the notebook, deleting the w3_unittest and getting the latest version, but still the same output,
I will appreciate any help, thanks
Are you sure that you passed the learning rate as a parameter when you called update_parameters
in your nn_model
function? And that you didn’t hard-code it to some value?
I tried it and it worked! thanks a lot!
Actually I didn’t pass it at all, I thought that there was no need since there was a default value for it in the update_parameters
arguments, but I think I was mistaken.
Thanks again sir
Glad to hear that my suggestion was useful to you. Yes, if you don’t pass it, then what that means is that you will always use the default value declared in the definition of the update_parameters
function, which is 1.2. But then what happens if the test case passes a different value than 1.2 into nn_model
at the top level? You get the wrong answer, because you end up using 1.2, not the requested value.