Course1 Week 2 Excercise8-model

I keep on getting this assertion error(wrong values) but I can not find where I made the mistake. All the prior exercises I have passed all the tests.

Please help me find the mistake.



You missed the steps regarding w and b. Please read through the instructions again in the model() function.

Thank you very much for your response.
However, I still don’t understand where I have made the mistake.

You didn’t retrieve parameters w and b from dictionary “params” but initializing them only.

thanks for your reply!
there usually is an approximation of the number of line of code so it was a bit confusing.
anyways, thanks for your reply!