Regression
Linear Regression
Objective function
Ordinary least square Lagrangian function
Let leads to
With respect to different constraints,
- for lasso,
- for ridge.
Ridge Regression : L1 Regularization
Least absolute shrinkage and selection operator
- When , no parameters are eliminated. The estimate is equal to the one found with linear regression.
- As increases, more and more coefficients are set to zero and eliminated (theoretically, when , all coefficients are eliminated).
- As increases, bias increases.
- As decreases, variance increases.
Lasso Regression : L2 Regularization
Let leads to
Elastic net Regularization
Logistic Regression
For ,
Logistic function is inverse logit, sigmoid function defined as follows, for ,
Suppose linear with , i.e.
then