W1_A1_Ex-8_Model_Test(Model) error_w array is not expected

Dear all,

I am getting an assertion error when testing model function “model_test(model)” in Exercice 8 :

Error is : “The w array is not the one expected.”

I managed to understand that the error is in the propagate function. Basically after all iterations, w returned by the function is not correct

But the propagate function has passed successfully its test “propagate_test(propagate)” in Exercice 5.

Can someone help with me this please ?

Thanks a lot

optimize has default parameters values for learning_rate, num_iterations and print_cost. When you invoke this function from inside model, do pass all relevant parameter values.

Oh I got it . Thank you so much !