(c) Finally, define x=[θ+θ−]. Show that (3.63) can be written in the standard form of a quadratic program,
xmin21xTHx+fTx(3.64)
s.t. x≥0.
where
H=[ΦΦT−ΦΦT−ΦΦTΦΦT],f=λ1−[Φy−Φy],(3.65)
and 1 is the vector of ones. Now we can use a standard QP solver!
Note: there are many customized algorithms for estimating the weights of LASSO, but this is perhaps the easiest to implement since we can use quadprog in MATLAB.