Assignment problem supervised ml


i am getting this assertion error all over again. how o fix this problem can someone please help me out?

The error indicates that you made a mistake in the compute_gradient function.

But when I tried to debug/ find the bug in the function there is no bug found. I don’t know what to do now

Click on my profile and send me a screenshot of the compute_gradient function code via direct message.