Question: PLEASE DO NOT USE CHATGPT / AI ! ( I ' ll know if you do ) This problem compares ridge regression and another form

PLEASE DO NOT USE CHATGPT/AI!(I'll know if you do)
This problem compares ridge regression and another form of regularization for
linear regression, Lasso, which use l1-norm as regularization.
Let x denote an nd matrix, where rows are training data, and y denotes an n1 vector of
corresponding output values. In this problem we consider that the training data is whitened,
xTTx=I
where I is the identity matrix. Given >0, recall that ridge regression solves for
w(2)=argminw12||y-xw||22+||w||22
The lasso regression solves for
w(1)=argminw12||y-xw||22+||w||1
where ||w||1=|w1|+|w2|+cdots+|wd| is the l1-norm of w=[w1,w2,dots,wd]TinRd.
(a) Show that under the whitened assumption both 12||y-xw||22+||w||22 and 12||y-xw||22+
||w||1 can be written as the following form:
g(y)+i=1df(xi,y,wi,)
where xi is the i-th column of x,g is a function of only y, and f is a function of
xi,y,wi,. Then show that the optimal solutions w(1) and w(2) can be solved for each
feature separately.
(b) When does wi(2)=0? Specify the condition using y,x and .
(c) What does wi(1)=0? Specify the condition using y,x and .
PLEASE DO NOT USE CHATGPT / AI ! ( I ' ll know if

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!