Question: ( Optional ) This problem is done in Jupyter notebook. Implement proximal gradient method and subgradient method in Python. Compare their convergence under proper settings

(Optional) This problem is done in Jupyter notebook. Implement proximal
gradient method and subgradient method in Python. Compare their convergence
under proper settings on the following LASSO problem:
minnRnf(x):=12||Ax-b||2+||x||1.
where AinRmn,binRm, and >0 are the following:
Take m=64,n=256,=10-3. For any 1im and 1jn, the (i,j)-th
entry of A is given by
Ai,j=1m2cos(2(i-1)(j-1)2m).
and b=Az with zi=1 for i=12,35,38,129,136,150,170,207,232,243 and zi=0
otherwise.
Plot f(xk) vs.k curves in log-log scale by the two algorithms in the same figure.
Properly label the axes, curves and title the figure.
( Optional ) This problem is done in Jupyter

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!