Skip to content

Regularization Problem #9

@alperenevrin

Description

@alperenevrin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions