For response vector , design matrix and , the Lasso estimates regression coefficients byAn equivalent constrained formulation minimizes the squared residual norm subject to , with an appropriate matching constraint radius. The L1 norm has a subdifferential interval at zero, allowing exact zero regression coefficients rather than only small ones. This combines estimation with variable selection.[ref]
For an orthonormalized design matrix, , put . Expanding the objective separates its coordinates and givesthe soft-thresholding operator. Thus and give . With correlated columns, the Karush-Kuhn-Tucker conditions for the Lasso replace this independent-coordinate calculation. An unpenalized regression intercept is ordinarily handled by centering.
New to topics? Read the docs here!