The ridge regression estimator is the elastic net at , while the lasso regression estimator is the elastic net at .
Put . Under , the objective separates by coordinates. Completing the square and applying the soft-thresholding operator givesFor a fixed , its magnitude lies between the ridge endpoint and the lasso endpoint ; this follows directly on the two intervals and by cross-multiplication. Thus the stated endpoint inequality holds.
For and , the coordinate first vanishes when the soft threshold reaches , soThis is strictly decreasing in , and it diverges to infinity as . This agrees with the fact that pure ridge shrinkage does not set a nonzero coordinate exactly to zero at any finite penalty.
Writing the horizontal coordinate as , so that , the two coefficient paths at areEquivalently, as functions of , replace every by . The paths reach zero at and , respectively.
Let and . While both lasso coordinates are positive, the Karush-Kuhn-Tucker conditions giveHenceAssume without loss of generality that . After the first coordinate vanishes, the second remains active until . The zero vector satisfies the KKT conditions exactly when ; for and , this norm is . Thereforeandwhich is independent of .
Articles by others on the same topic
There are currently no matching articles.