Test Set Sizing for the Ridge Regression

Alexander Dubbs
4/27/2025
stat.MLcs.LGmath.PR

No confident code implementation found for this paper.

Abstract

We derive the ideal train/test split for the ridge regression to high accuracy in the limit that the number of training rows m becomes large. The split must depend on the ridge tuning parameter, alpha, but we find that the dependence is weak and can asymptotically be ignored; all parameters vanish except for m and the number of features, n, which is held constant. This is the first time that such a split is calculated mathematically for a machine learning model in the large data limit. The goal of the calculations is to maximize "integrity," so that the measured error in the trained model is as close as possible to what it theoretically should be. This paper's result for the ridge regression split matches prior art for the plain vanilla linear regression split to the first two terms asymptotically.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{dubbs2025test,
  title  = {Test Set Sizing for the Ridge Regression},
  author = {Alexander Dubbs},
  year   = {2025},
  eprint = {2504.19231},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.19231v2}
}

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/2504.19231.svg)](https://codeofpaper.com/paper/2504.19231)

Discussion