Question: ' Use R or Python to perform the following experiment: you pick arbitrary numbers (0,1) and r(0,1) satisfying 1+26>r1+2r. Set X=(1rr) and Y=X(12). For any

 ' Use R or Python to perform the following experiment: you

' Use R or Python to perform the following experiment: you pick arbitrary numbers (0,1) and r(0,1) satisfying 1+26>r1+2r. Set X=(1rr) and Y=X(12). For any >0, define ^:=Rpargmin{21YX22+1}. Plot the coefficients of ^ as a function of ^1, and check if ^0 is not a monotonic function of the 1 norm. Hint: lasso.R in Canvas contains most of the ingredients of the code. Repeat the experiment in Problem 2, but choose and r such that the inequality sign in (5) is reversed. Check if ^0 is monotonic in ^3 this time. verify that (5) is equivalent to the condition that "Line PT has a smaller slope (in absolute value) than PO" in Notes Lasso.pdf

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 Databases Questions!