English

Evaluation and Optimization of Leave-one-out Cross-validation for the Lasso

Machine Learning 2025-11-04 v2 Machine Learning Computation

Abstract

I develop an algorithm to produce the piecewise quadratic that computes leave-one-out cross-validation for the lasso as a function of its hyperparameter. The algorithm can be used to find exact hyperparameters that optimize leave-one-out cross-validation either globally or locally, and its practicality is demonstrated on real-world data sets. I also show how the algorithm can be modified to compute approximate leave-one-out cross-validation, making it suitable for larger data sets.

Keywords

Cite

@article{arxiv.2508.14368,
  title  = {Evaluation and Optimization of Leave-one-out Cross-validation for the Lasso},
  author = {Ryan Burn},
  journal= {arXiv preprint arXiv:2508.14368},
  year   = {2025}
}

Comments

20 pages, 4 figures, 7 tables