Model validation in machine learning: A scenario-based guide from hold-out splits to nested group cross-validation in biomedical and applied research
Mehmet Baygin, Sengul Dogan, Turker Tuncer
Key points
From the paper's conclusion- The results show that no validation method is universally best.
Abstract
Model validation estimates the performance of a complete learning procedure on new data. However, an invalid split can produce an optimistic and stable result. This tutorial reviews hold-out validation, train/validation/test designs, repeated random subsampling, k-fold and repeated stratified cross-validation, leave-one-out and leave-p-out schemes, group-aware validation, and nested group cross-validation. General machine-learning principles are linked to EEG epochs, paired-eye OCT images, repeated clinical measurements, and multicenter data. Eight controlled scenarios compare flawed and leakage-safe designs: seven use locked confusion matrices with auditable metrics, and one uses a reproducible repeated-study simulation. The scenarios cover global feature selection, normalization leakage, dependent records, center mixing, repeated test-set use, and estimator instability. Bias, variance, metric aggregation, uncertainty, and computational cost are also examined. A data-size matrix, a decision tree, and reporting checklists are provided. Reproducible MATLAB templates and scikit-learn counterparts are included. The results show that no validation method is universally best. The independent unit must match the intended deployment target. Every data-dependent operation must also exclude the observations used for performance estimation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Reporting machine learning studies in clinical research: Practical guidelines for transparent and reproducible analysis.Advances in clinical and experimental medicine : official organ Wroclaw Medical University · 2026
- An estimand framework to guide model and algorithm validation in predictive modelling.Diagnostic and prognostic research · 2026
- Q performance 2: Toward Unbiased Selection of Machine-Learning Regression Models.Journal of chemical information and modeling · 2026
- Machine learning for elective caesarean section in Bangladesh: validation design, not model choice, determines the performance a deployed model would havemedRxiv · 2026
- Participant-Aware Model Validation for Repeated-Measures Data: Comparative Cross-Validation Study.JMIR AI · 2026
- Duplicate leakage and evaluation integrity on a public synthetic sleep-health tabular dataset: A methodological case study.Computers in biology and medicine · 2026