Regularized Logistic Regression

Regularized Logistic Regression

J(θ)=1mmi=1[y(i) log(hθ(x(i)))+(1y(i)) log(1hθ(x(i)))]+λ2mnj=1θ2j
Note: the 2nd sum explicitly skip j = 0 because we treat that separately as below
Resources:

Comments