CourseraML icon indicating copy to clipboard operation
CourseraML copied to clipboard

Regularization Problem

Open alperenevrin opened this issue 7 years ago • 0 comments

Hello In Ex 3, Neural networks, in the part with multiclass classification I think there is a problem with regularization in Logistic regression problem. I am talking particularly about part : 1.3 Vectorizing Logistic Regression.

right_hand = mytheta.T.dot( mytheta ) * mylambda / (2*m) Here the first element of theta (theta_0 if you'd like) is also included in regularization. It should not be included.

alperenevrin avatar Mar 07 '18 13:03 alperenevrin