RandALO: Out-of-sample risk estimation in no time flat

Parth Nobel, Daniel LeJeune, Emmanuel J. Candès
9/15/2024
3 citations
math.STcs.LGmath.OC

Official code: cvxgrp/randalo (6 stars, Python, MIT, last commit 2025-04-17).

Abstract

Estimating out-of-sample risk for models trained on large high-dimensional datasets is an expensive but essential part of the machine learning process, enabling practitioners to optimally tune hyperparameters. Cross-validation (CV) serves as the de facto standard for risk estimation but poorly trades off high bias ($K$-fold CV) for computational cost (leave-one-out CV).

Show full abstract

We propose a randomized approximate leave-one-out (RandALO) risk estimator that is not only a consistent estimator of risk in high dimensions but also less computationally expensive than $K$-fold CV. We support our claims with extensive simulations on synthetic and real data and provide a user-friendly Python package implementing RandALO available on PyPI as randalo and at https://github.com/cvxgrp/randalo.

View on arXivView PDF

Code Implementations(1)

cvxgrp/randaloOfficial100%
MIT
60PythonAug 30, 20231 years agoMIT

Similar Papers

Cite this paper

@article{nobel2024randalo,
  title  = {RandALO: Out-of-sample risk estimation in no time flat},
  author = {Parth Nobel and Daniel LeJeune and Emmanuel J. Candès},
  year   = {2024},
  eprint = {2409.09781},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.09781v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.09781.svg)](https://codeofpaper.com/paper/2409.09781)

Discussion