Professional Documents
Culture Documents
INSY662 - F23 - Week 3-2
INSY662 - F23 - Week 3-2
INSY662 - F23 - Week 3-2
2
Linear Regression Revisited
y
3
Linear Regression Revisited
y
4
Linear Regression Revisited
y
5
Linear Regression Revisited
y
6
The Issue
7
Regularization
8
Ridge Regression
9
Ridge Regression
12
Ridge and LASSO
§ The role of λ
– Penalizes the predictor(s) with respect to their
influence on the target variable
– Imposed penalty different for different predictors
13
Ridge Regression vs. LASSO
Ridge LASSO
$ $
Objective
function 𝑺𝑺𝑬 + (𝜆 + 𝛽!% ) 𝑺𝑺𝑬 + (𝜆 + 𝛽! )
!"# !"#
Penalty on Slope can be Slope can be
the slope asymptotically zero decreased to zero
14
Coding Session
15