Week 3 practice lab: logistic regression for loop vs numpy

Hi, for one of the graded function. I’m able to complete it with numpy and pass the test, but not with the for loop version.
I verified all the row results being similar, but somehow the computed gradient has minor difference.
Is it possible for one of the mentor to look at my code, for learning purpose. I’ll send both versions of them.

Ty !!!

Yes, send me your code via a private message.

yes send me your code in pv