Course 1 Week 2 Assignment Exercise 8 - Model - Assertion Error

I have read all the topics about Assertion Error, and the fix was to not hardcode the num_iterations etc. But even after doing so I keep getting this error. Can someone point out what I am doing wrong?

Hi @devnithw it looks like that you have the weights w still initialized to 0.0, maybe you have not performed any optimization step in the model function? Hope this helps you

1 Like

Thank you for replying sir
When I re-checked my code after taking your reply into consideration I found out that I have not implemented the following step
Capture
I fixed it. Thank you sir.

1 Like