Skip to main content
Share Your Experience: Take the 2024 Developer Survey
5 votes

What is the best measure for detecting overfitting?

tl;dr The safest method I've found is to use cross-validation for hyperparameter selection and a hold-out test set for a final evaluation. Why this isn't working for you... In your case, I suspect you'...
Djib2011's user avatar
  • 3,193
2 votes

Should I use leave-one-out cross-validation for testing?

Concerning $k$-fold Cross Validation, I like to think of it by considering two extremes you can do: Leave-One-Out Cross-Validation where you leave one sample each time and train your model on the ...
Tomasz Bartkowiak's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible