Can anyone help? Where is the mistake? ML_Course_C3_W2

Can anyone help me?
I did mistake in the first assignment of 3 course of 2 week. The mistake related to regularization term? Where should I add regularization term? Inside for loop or outside?

Hi @sultan007755,

See the discussion here:

And please delete your code. It is against Coursera rules to post an assignments code.

1 Like

Got it! Thank you very much!


Hey! hopw you all doing fine, I’m getting this error in test case, can anyone suggest me what is going wrong depite the code produces the same expected values, I’m getting confused about it. i cant even change the atol to higher accuracy in testcasefiles.