On the “degrees of freedom” of the lasso

2007
3 references

Abstract

We study the effective degrees of freedom of the lasso in the framework of Stein’s unbiased risk estimation (SURE). We show that the number of nonzero coefficients is an unbiased estimate for the degrees of freedom of the lasso—a conclusion that requires no special assumption on the predictors. In addition, the unbiased estimator is shown to be asymptotically consistent. With these results on hand, various model selection criteria—C<sub>p</sub>, AIC and BIC—are available, which, along with the LARS algorithm, provide a principled and efficient approach to obtaining the optimal lasso fit with the computational effort of a single ordinary least-squares fit.

1 repository
3 references

Code References

scikit-learn/scikit-learn
1 file
examples/linear_model/plot_lasso_lars_ic.py
3
This example reproduces the example of Fig. 2 of [ZHT2007]_. A
.. [ZHT2007] :arxiv:`Zou, Hui, Trevor Hastie, and Robert Tibshirani.
# To be in line with the definition in [ZHT2007]_, we need to rescale the
Link copied to clipboard!