Bias in error estimation when using cross-validation for model selection
Open accessThe DOI matches its Crossref record; 13 of the 13 references it cites were found in a registry or an index.
Abstract
Background: Cross-validation (CV) is an effective method for estimating the prediction error of a classifier. Some recent articles have proposed methods for optimizing classifiers by choosing classifier parameter values that minimize the CV error estimate. We have evaluated the validity of using the CV error estimate of the optimized classifier as an estimate of the true error expected on independent data. Results: We used CV to optimize the classification parameters for two kinds of classifiers; Shrunken Centroids and Support Vector Machines (SVM). Random training datasets were created, with no difference in the distribution of the features between the two classes. Using these "null" datasets, we selected classifier parameter values that minimized the CV error estimate. 10-fold CV was used for Shrunken Centroids while Leave-One-Out-CV (LOOCV) was used for the SVM. Independent test data was created to estimate the true error. With "null" and "non null" (with differential expression between the classes) data, we also tested a nested CV procedure, where an inner CV loop is used to perform the tuning of the parameters while an outer CV is used to compute an estimate of the error. The CV error estimate for the classifier with the optimal parameters was found to be a substantially biased estimate of the true error that the classifier would incur on independent data. Even though there is no real difference between the two classes for the "null" datasets, the CV error estimate for the Shrunken Centroid with the optimal parameters was less than 30% on 18.5% of simulated training data-sets. For SVM with optimal parameters the estimated error rate was less than 30% on 38% of "null" data-sets. Performance of the optimized classifiers on the independent test set was no better than chance. The nested CV procedure reduces the bias considerably and gives an estimate of the error that is very close to that obtained on the independent testing set for both Shrunken Centroids and SVM classifiers for "null" and "non-null" data distributions. Conclusion: We show that using CV to compute an error estimate for a classifier that has itself been tuned using CV gives a significantly biased estimate of the true error. Proper use of CV for estimating true error of a classifier developed using a well defined algorithm requires that all steps of the algorithm, including classifier parameter tuning, be repeated in each CV loop. A nested CV procedure provides an almost unbiased estimate of the true error.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures




Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
LIBSVM: A library for support vector machines
Chang, C.-C., & Lin, C.-J. (2011) · ACM Transactions on Intelligent Systems and Technology · doi:10.1145/1961189.1961199 · Cited by 40,918
Wu, Y. (1999) · Technometrics · doi:10.1080/00401706.1999.10485951 · Cited by 27,221 · cited 1×
“SVMs were introduced by Vapnik [ 8 ] as linear hyperplanes that separate data belonging to different classes while maximizing the margin, or the distance of the training samples to the linear separating hyperplane.”
Method(2012) · Encyclopedia of the Sciences of Learning · doi:10.1007/978-1-4419-1428-6_5195 · Cited by 19,370
Diagnosis of multiple cancer types by shrunken centroids of gene expression
Tibshirani, R., Hastie, T., Narasimhan, B., & Chu, G. (2002) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.082099299 · Cited by 2,930 · cited 2×
“This classifier, originally proposed by Tibshirani et al [5], is an extension of the nearest centroid classifier.”
BackgroundMethodImprovements on Cross-Validation: The 632+ Bootstrap Method
Efron, B., & Tibshirani, R. (1997) · Journal of the American Statistical Association · doi:10.1080/01621459.1997.10474007 · Cited by 1,636 · cited 1×
“632 Bootstrap [10] and Bootstrap CV [11].”
Selection bias in gene extraction on the basis of microarray gene-expression data
Ambroise, C., & McLachlan, G. J. (2002) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.102102699 · Cited by 1,480 · cited 1×
“[2], Ambroise and McLachlan [3] and Reunanen [4], this gives a very biased estimate of the true error; not much better than the resubstitution estimate.”
BackgroundPrediction error estimation: a comparison of resampling methods
Molinaro, A. M., Simon, R., & Pfeiffer, R. M. (2005) · Bioinformatics · doi:10.1093/bioinformatics/bti499 · Cited by 1,339 · cited 1×
“However, low variance methods can also have a large inherent bias [12] (either positive or negative).”
BackgroundSelf-citationPitfalls in the Use of DNA Microarray Data for Diagnostic and Prognostic Classification
Simon, R., Radmacher, M. D., Dobbin, K., & McShane, L. M. (2003) · JNCI Journal of the National Cancer Institute · doi:10.1093/jnci/95.1.14 · Cited by 1,006 · cited 1×
“[2], Ambroise and McLachlan [3] and Reunanen [4], this gives a very biased estimate of the true error; not much better than the resubstitution estimate.”
Self-citationIizuka, N., Oka, M., Yamada-Okabe, H., Nishida, M., Maeda, Y., Mori, N., Takao, T., Tamesa, T., Tangoku, A., Tabuchi, H., et al. (2003) · The Lancet · doi:10.1016/s0140-6736(03)12775-4 · Cited by 511
Peng, S., Xu, Q., Ling, X. B., Peng, X., Du, W., & Chen, L. (2003) · FEBS Letters · doi:10.1016/s0014-5793(03)01275-4 · Cited by 218
Cited by
Items 501–600 of 1,006
A Universal Screening Tool for Dyslexia by a Web-Game and Machine Learning
Rauschenberger, M., Baeza-Yates, R. A., & Rello, L. (2022) · Frontiers in Computer Science · doi:10.3389/fcomp.2021.628634 · Cited by 40
“As we have small data, we are not optimizing the input parameters of classi fi ers until we can hold out a test data set as proposed by scikit-learn 0.21.2 documentation to evaluate the changes (Scikit-learn, 2019) and to avoid biases (Varma and Simon, 2006).”
MethodInfluentialTree extraction and estimation of walnut structure parameters using airborne LiDAR data
Estornell, J., Hadaś, E., Martí, J., & Cortés, I. L. (2020) · International Journal of Applied Earth Observation and Geoinformation · doi:10.1016/j.jag.2020.102273 · Cited by 37
Artificial intelligence for automatic classification of needle EMG signals: A scoping review
de Jonge, S., Potters, W. V., & Verhamme, C. (2024) · Clinical Neurophysiology · doi:10.1016/j.clinph.2023.12.134 · Cited by 30
Nath, A., Nanda, R., Jena, P. P., Ghosh, A., Shah, S., Patel, S., Mohapatra, E., Tiwari, A. K., & Nisar, K. S. (2025) · Egyptian Informatics Journal · doi:10.1016/j.eij.2025.100777 · Cited by 32
Butterfield, J. D., Meyers, G., Meruane, V., Collins, R., & Beck, S. B. M. (2018) · Journal of Hydroinformatics · doi:10.2166/hydro.2018.117 · Cited by 29
Rouillard, A. D., Hurle, M. R., & Agarwal, P. (2018) · PLoS Computational Biology · doi:10.1371/journal.pcbi.1006142 · Cited by 32
“We used 706 an outer cross-validation loop with 5-folds repeated 200 times, yielding a total of 1000 train-test 707 cycles, to estimate the generalization performance and stability of the feature selection and 708 model selection procedure (58).”
MethodForecasting Risk of Crop Disease with Anomaly Detection Algorithms
Skelsey, P. (2020) · Phytopathology · doi:10.1094/phyto-05-20-0185-r · Cited by 34
Yamato, N., Niioka, H., Miyake, J., & Hashimoto, M. (2020) · Scientific Reports · doi:10.1038/s41598-020-72241-x · Cited by 28
Kobayashi, K., Masuda, K., Haga, C., Matsui, T., Fukui, D., & Machimura, T. (2021) · Ecological Informatics · doi:10.1016/j.ecoinf.2021.101253 · Cited by 35
Nguyen, K. P., Fatt, C. C., Treacher, A., Mellema, C., Cooper, C. M., Jha, M. K., Kurian, B. T., Fava, M., McGrath, P. J., Weissman, M. M., et al. (2020) · Biological Psychiatry · doi:10.1016/j.biopsych.2021.09.011 · Cited by 32
“The predictive performance of each candidate model was validated using 20x20 nested cross-validation (21; 22).”
MethodHorwitz, A. G., Kentopp, S. D., Cleary, J. L., Ross, K. E. T., Wu, Z., Sen, S., & Czyz, E. K. (2022) · Psychological Medicine · doi:10.1017/s0033291722003014 · Cited by 30
“This scheme uses a nested loop structure to validate models in two steps (for a detailed explanation, see Varma & Simon, 2006).”
Marzi, C., d’Ambrosio, A., Diciotti, S., Bisecco, A., Altieri, M., Filippi, M., Rocca, M. A., Storelli, L., Pantano, P., Tommasin, S., et al. (2022) · Human Brain Mapping · doi:10.1002/hbm.26106 · Cited by 27
“…using a nested k-fold cross-validation (CV) strategy (stratified for the classification task) to estimate the unbiased generalization performance of the models along with performing, at the same time, data standardization, hyperparameters optimization, and feature selection (Varma & Simon, 2006).”
MethodLee, C. H., Park, H., Lee, M. J., & Park, B. (2023) · Human Brain Mapping · doi:10.1002/hbm.26204 · Cited by 29
“…we applied the least absolute shrinkage and selection operator (LASSO) to select imaging features, and constructed a prediction model using linear regression with five-fold nested cross-validation (Cawley & Talbot, 2010; Parvandeh et al., 2020; Tenenbaum et al., 2000; Varma & Simon, 2006).”
MethodHickman, L., Herde, C. N., Lievens, F., & Tay, L. (2023) · International Journal of Selection and Assessment · doi:10.1111/ijsa.12418 · Cited by 34
Green, A. L., Branan, M., Fields, V. L., Patyk, K. A., Kolar, S. K., Beam, A. L., Marshall, K. L., McGuigan, R., Vuolo, M., Freifeld, A., et al. (2023) · Frontiers in Veterinary Science · doi:10.3389/fvets.2023.1229008 · Cited by 35
“Since predictors were pre-screened prior to performing LOOCV, estimated cross-validation accuracy of the model was likely artificially inflated (32, 39).”
BackgroundMethodTerrill, P. I., Wilson, S. J., Suresh, S., Cooper, D. M., & Dakin, C. (2012) · Medical & Biological Engineering & Computing · doi:10.1007/s11517-012-0918-4 · Cited by 30
“In order to both select the best feature subset of the 23 candidate features, and to evaluate performance of the resultant classifier with minimal bias, a nested cross-validation procedure was implemented [43].”
MethodBlood Signature of Pre-Heart Failure: A Microarrays Study
Smih, F., Desmoulin, F., Berry, M., Turkieh, A., Harmancey, R., Iacovoni, J. S., Trouillet, C., Delmas, C., Pathak, A., Lairez, O., et al. (2011) · PLoS ONE · doi:10.1371/journal.pone.0020414 · Cited by 31
Predicting disc cutter wear using two optimized machine learning techniques
Ghorbani, E., & Yağız, S. (2024) · Archives of Civil and Mechanical Engineering · doi:10.1007/s43452-024-00911-y · Cited by 27
“In this study, K-fold cross-validation was used in the splitting process to train the models, since the number of data points in the dataset is not large enough [60].”
New horizons in prediction modelling using machine learning in older people’s healthcare research
Stahl, D. R. (2024) · Age and Ageing · doi:10.1093/ageing/afae201 · Cited by 33
“Independent datasets are necessary for each of the two tasks to prevent biassed or over-optimistic assessment of the model’s performance [42, 48].”
AI-powered prediction of nanoparticle pharmacokinetics: A multi-view learning approach
Khakpour, A., Florescu, L., Tilley, R. D., Jiang, H., Iyer, K. S., & Carneiro, G. (2025) · Materials Today Communications · doi:10.1016/j.mtcomm.2025.113742 · Cited by 51
Multivariate meta-analysis of proteomics data from human prostate and colon tumours
Rosenberg, L. H., Franzén, B., Auer, G., Lehtiö, J., & Forshed, J. (2010) · BMC Bioinformatics · doi:10.1186/1471-2105-11-468 · Cited by 29
“The modelling procedure in this study was performed in two nested cross-validation loops, an inner loop to optimize model parameters and select variables and an outer loop to measure the optimized model performance on a held-out test set [28,29].”
MethodSegelke, T., von Wuthenau, K., Kuschnereit, A., Müller, M.-S., & Fischer, M. J. (2020) · Foods · doi:10.3390/foods9111708 · Cited by 29
“…that, via stratified nested cross validation, a generally valid model can be calculated which does not lack overfitting, while leave-one-out cross validation is more prone to this issue [12,38,39,50], we would like to encourage the reader to apply both validation strategies and compare the results.”
Bao, Z., Zhao, X., Li, J., Zhang, G., Wu, H., Ning, Y., Li, M. D., & Yang, Z. (2021) · Journal of Psychiatric Research · doi:10.1016/j.jpsychires.2021.04.014 · Cited by 28
Gajendran, M. K., Rohowetz, L. J., Koulen, P., & Mehdizadeh, A. (2022) · Frontiers in Neuroscience · doi:10.3389/fnins.2022.869137 · Cited by 32
“The cross-validation technique significantly reduces bias when working with small datasets (Varma and Simon, 2006).”
MethodSchucknecht, A., Seo, B., Krämer, A., Asam, S., Atzberger, C., & Kiese, R. (2022) · Biogeosciences · doi:10.5194/bg-19-2699-2022 · Cited by 31
Dematheis, F., Walter, M. C., Lang, D., Antwerpen, M. H., Scholz, H. C., Pfalzgraf, M.-T., Mantel, E., Hinz, C., Wölfel, R., & Zange, S. (2022) · Microorganisms · doi:10.3390/microorganisms10081658 · Cited by 32
“Previous studies showed that high-dimensional data with a small number of samples may lead to overoptimistic performance estimates for ML algorithms [27,28], especially if combined with simple validation methods like k-folds CV, which do not ensure a clear distinction between data used to validate the classifiers and…”
BackgroundPrediction of metastasis from low‐malignant breast cancer by gene expression profiling
Thomassen, M., Tan, Q., Eiriksdottir, F., Bak, M., Cold, S., & Kruse, T. A. (2006) · International Journal of Cancer · doi:10.1002/ijc.22449 · Cited by 29
“mate of the classification error.(15) The more precise performance of HUMAC32 among low-risk samples was also supported by fewer misclassified T1 samples (4) compared with the 70-gene signature (6).”
ResultBias correction for selecting the minimal-error classifier from many machine learning models
Ding, Y., Tang, S., Liao, S. G., Jia, J., Oesterreich, S., Lin, Y., & Tseng, G. C. (2014) · Bioinformatics · doi:10.1093/bioinformatics/btu520 · Cited by 27
“Below, we introduce four bias correction meth-ods that we will compare in this article (Bernau et al. , 2013; Tibshirani and Tibshirani, 2009; Varma and Simon, 2006).”
BackgroundMethodFuzzy decision tree to classify complex fractionated atrial electrograms
Schilling, C., Keller, M., Scherr, D., Oesterlein, T. G., Haïssaguerre, M., Schmitt, C., Dössel, O., & Luik, A. (2015) · Biomedizinische Technik/Biomedical Engineering · doi:10.1515/bmt-2014-0110 · Cited by 30
“To generate a FDT working with a new data set or in a clinical setting, the tree will be trained with all available data [41].”
MethodWang, H., Hsieh, S., Peng, B., & Zhou, X. (2016) · Infrared Physics & Technology · doi:10.1016/j.infrared.2016.06.015 · Cited by 28
A genetic programming approach to oral cancer prognosis
Tan, M. S., Tan, J., Chang, S., Yap, H. J., Kareem, S. A., & Zain, R. B. (2016) · PeerJ · doi:10.7717/peerj.2482 · Cited by 29
García, S. L., Lauritsen, J., Zhang, Z., Bandak, M., Dalgaard, M., Nielsen, R. L., Daugaard, G., & Gupta, R. (2020) · JNCI Cancer Spectrum · doi:10.1093/jncics/pkaa032 · Cited by 28
“Training and testing of the algorithm was performed with a 5 outer, 2 inner fold nested cross-validation (21,22) (Supplementary Figure 3, available online).”
MethodRobust Classification of Intramuscular EMG Signals to Aid the Diagnosis of Neuromuscular Disorders
Jose, S., George, S. T., Subathra, M. S. P., Handiru, V. S., Jeevanandam, P. K., Amato, U., & Suviseshamuthu, E. S. (2020) · IEEE Open Journal of Engineering in Medicine and Biology · doi:10.1109/ojemb.2020.3017130 · Cited by 33
Dunnington, D., Trueman, B. F., Raseman, W. J., Anderson, L. E., & Gagnon, G. A. (2020) · ACS ES&T Engineering · doi:10.1021/acsestengg.0c00053 · Cited by 28
Rajesh, M., & Rehana, S. (2021) · Journal of Hydroinformatics · doi:10.2166/hydro.2021.121 · Cited by 31
Terzi, S., Sušnik, J., Schneiderbauer, S., Torresan, S., & Critto, A. (2021) · Natural hazards and earth system sciences · doi:10.5194/nhess-21-3519-2021 · Cited by 28
da Silva, R. P., Suphavilai, C., & Nagarajan, N. (2021) · Bioinformatics · doi:10.1093/bioinformatics/btab299 · Cited by 37
Kaeslin, J., Micic, S. J., Weber, R., Müller, S., Perkins, N., Berger, C., Zenobi, R., Bruderer, T., & Mœller, A. (2021) · Metabolites · doi:10.3390/metabo11110773 · Cited by 28
“In order to avoid feature selection bias and overfitting, all the processing steps needed to derive the m/z-representants data matrix of pathogen profiles were repeated in each loop of the cross-validation, see in [57,58].”
MethodIseke, S., Zeevi, T., Kucukkaya, A. S., Raju, R., Gross, M., Haider, S. P., Petukhova-Greenstein, A., Kuhn, T. N., Lin, M., Nowak, M., et al. (2022) · American Journal of Roentgenology · doi:10.2214/ajr.22.28077 · Cited by 31
Kim, Y., Kim, K. H., Park, J., Yoon, H. I., & Sung, W. (2023) · Radiotherapy and Oncology · doi:10.1016/j.radonc.2023.109617 · Cited by 33
Budgeting for SDGs: Quantitative methods to assess the potential impacts of public expenditure
Guariso, D., Castañeda, G., & Guerrero, O. A. (2023) · Development Engineering · doi:10.1016/j.deveng.2023.100113 · Cited by 38
A machine learning approach for distinguishing age of infants using auditory evoked potentials
Ravan, M., Reilly, J. P., Trainor, L. J., & Khodayari-Rostamabad, A. (2011) · Clinical Neurophysiology · doi:10.1016/j.clinph.2011.04.002 · Cited by 33
“These may be conveniently determined using a nested cross-validation procedure within each fold of the main LOO process, in the manner described by (Varma and Simon, 2006; Guyon and Elisseeff, 2003).”
MethodA comparative study of expected improvement-assisted global optimization with different surrogates
Wang, H., Ye, F., Li, E., & Li, G. (2015) · Engineering Optimization · doi:10.1080/0305215x.2015.1115645 · Cited by 26
“In this study, the leave-one-out cross-validation (LOOCV) method is used to calculate the prediction of y i , which can be used to assess the accuracy of the model without adding new samples (Picard and Cook 1984; Varma and Simon 2006).”
MethodMachine Learning for Pavement Friction Prediction Using Scikit-Learn
Marcelino, P., Antunes, M. D. L., Fortunato, E., & Gomes, M. C. (2017) · Lecture notes in computer science · doi:10.1007/978-3-319-65340-2_28 · Cited by 30
Stacked penalized logistic regression for selecting views in multi-view learning
van Loon, W., Fokkema, M., Szabó, B., & de Rooij, M. (2020) · Information Fusion · doi:10.1016/j.inffus.2020.03.007 · Cited by 34
“It should be noted that, since the value of λ is chosen such that it minimizes cross-validation error, the associated error estimate most likely underestimates the true out-of-sample error [42].”
BackgroundMethodHall, A., & Matz, S. (2020) · European Journal of Personality · doi:10.1002/per.2253 · Cited by 32
“This additional step of nested cross-validation was taken as modelling decisions such as parameter selection can in fl uence the ultimate predictive results, over fi tting the training data and producing overly optimistic results (Bischl, Mersmann, Trautmann, & Weihs, 2012; Varma & Simon, 2006).”
MethodMeng, X., Bao, Y., Luo, C., Zhang, X., & Liu, H. (2024) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2024.09.038 · Cited by 28
Taheri, N., & Tucci, M. (2024) · Energies · doi:10.3390/en17215431 · Cited by 26
“By integrating cross-validation during hyperparameter tuning, one can identify hyperparameter values that yield the best model performance on unseen data, thereby enhancing the reliability and accuracy of predictions, such as in solar PV power forecasting [37].”
Esteghamati, M. Z., Bean, B., Burton, H. V., & Naser, M. Z. (2025) · Journal of Structural Engineering · doi:10.1061/jsendh.steng-13301 · Cited by 38
“Rigorous evaluation procedures (such as k-fold cross-validation) must be used to tackle these challenges, albeit cross-validation could still lead to biased estimates on smaller datasets (Varma and Simon 2006; Vabalas et al. 2019).”
dos Santos, H. G., do Nascimento, C. F., Izbicki, R., Duarte, Y. A. O., & Filho, A. D. P. C. (2019) · Cadernos de Saúde Pública · doi:10.1590/0102-311x00050818 · Cited by 63
Genauck, A., Andrejević, M., Brehm, K., Matthis, C., Heinz, A., Weinreich, A., Kathmann, N., & Romanczuk‐Seiferth, N. (2019) · Addiction Biology · doi:10.1111/adb.12841 · Cited by 30
Herzog, P., Voderholzer, U., Gärtner, T., Osen, B., Svitak, M., Doerr, R., Rolvering-Dijkstra, M., Feldmann, M., Rief, W., & Brakemeier, E. (2020) · Psychotherapy Research · doi:10.1080/10503307.2020.1802081 · Cited by 26
“Variable selection and imputation was performed on the training set only to prevent information leakage (Dwyer et al., 2018; Varma & Simon, 2006).”
MethodXing, S., Jiao, Y., Salehzadeh, M., Soma, K. K., & Huan, T. (2021) · Analytical Chemistry · doi:10.1021/acs.analchem.0c04834 · Cited by 25
Al-Mekhlafi, A., Sühs, K., Schuchardt, S., Kuhn, M., Müller‐Vahl, K., Trebst, C., Skripuletz, T., Klawonn, F., Stangel, M., & Peßler, F. (2021) · Cells · doi:10.3390/cells10051115 · Cited by 30
“Candidate biomarkers were then subjected to internal cross-validation using leave-one-out (jackknife) cross-validation [26].”
MethodDistinct cortical systems reinstate the content and context of episodic memories
Kragel, J. E., Ezzyat, Y., Lega, B. C., Sperling, M. R., Worrell, G. A., Gross, R. E., Jobst, B. C., Sheth, S. A., Zaghloul, K. A., Stein, J. M., et al. (2021) · Nature Communications · doi:10.1038/s41467-021-24393-1 · Cited by 34
Tanabe, T. S., & Dahl, C. (2022) · Molecular Ecology Resources · doi:10.1111/1755-0998.13642 · Cited by 27
“A nested cross-validation procedure (Varma & Simon, 2006) with a 10-fold outer and 5-fold inner loop was applied to the HMMs to validate performance and assignment of the trusted, noise and optimal thresholds (Figure 2c).”
MethodTauscher, J. S., Lybarger, K., Ding, X., Chander, A., Hudenko, W. J., Cohen, T., & Ben‐Zeev, D. (2022) · Psychiatric Services · doi:10.1176/appi.ps.202100692 · Cited by 42
Charlton, C. E., Poon, M. T. C., Brennan, P. M., & Fleuriot, J. (2023) · Computer Methods and Programs in Biomedicine · doi:10.1016/j.cmpb.2023.107482 · Cited by 33
Evaluation of Major Online Diabetes Risk Calculators and Computerized Predictive Models
Štiglic, G., & Pajnkihar, M. (2015) · PLoS ONE · doi:10.1371/journal.pone.0142827 · Cited by 27
“The threshold was set for each holdout evaluation separately to avoid bias in performance estimation [6].”
BackgroundMartín, Ó., Ahedo, V., Santos, J. I., Tiedra, P. D., & Galán, J. M. (2016) · Materials Science and Engineering A · doi:10.1016/j.msea.2016.08.112 · Cited by 25
“[41] and Varma and Simon [42], nested cross‐validation has been used for model selection and to estimate an unbiased error.”
MethodSparse regression interaction models for spatial prediction of soil properties in 3D
Pejović, M., Nikolić, M., Heuvelink, G. B. M., Tomislav Hengl, A., Kilibarda, M., & Bajat, B. (2018) · Computers & Geosciences · doi:10.1016/j.cageo.2018.05.008 · Cited by 29
RiGoR: reporting guidelines to address common sources of bias in risk model development
Kerr, K. F., Meisner, A., Thiessen‐Philbrook, H., Coca, S. G., & Parikh, C. R. (2015) · Biomarker Research · doi:10.1186/s40364-014-0027-7 · Cited by 31
“cause this model is chosen because it performed best on the available data [16-19].”
MethodLiu, Y., Shen, X., Zhang, Y., Wang, Z., Tian, Y., Dai, J., & Cao, Y. (2025) · International Journal of Data Science and Analytics · doi:10.1007/s41060-025-00850-8 · Cited by 51
“Adopting these best practices is crucial for building models that are both robust and applicable to real-world social media detection tasks [47, 48].”
Chigozie, V. U., Ugochukwu, C. G., Igboji, K. O., & Okoye, F. B. (2025) · BMC Artificial Intelligence · doi:10.1186/s44398-025-00004-7 · Cited by 30
“Leave-one-out cross-validation is sometimes preferred for very small natural product collections, while nested cross-validation provides an unbiased estimate of performance when hyperparameters are tuned within inner loops [67].”
Lessons learned in the analysis of high-dimensional data in vaccinomics
Oberg, A. L., McKinney, B. A., Schaid, D. J., Pankratz, V. S., Kennedy, R. B., & Poland, G. A. (2015) · Vaccine · doi:10.1016/j.vaccine.2015.04.088 · Cited by 30
“Most classification methods have “tuning” parameters that must be estimated by using an inner cross validation loop called nested cross-validation[62, 63].”
MethodKarch, J. D., Sander, M. C., von Oertzen, T., Brandmaier, A. M., & Werkle‐Bergner, M. (2015) · NeuroImage · doi:10.1016/j.neuroimage.2015.04.038 · Cited by 27
“This cherry picking causes an overoptimistic accuracy estimate if the best accuracy of the model selection phase is reused as the estimate for the overall inner performance of the selected model (Stone, 1974; Varma and Simon, 2006).”
Tightly integrated genomic and epigenomic data mining using tensor decomposition
Fang, J. (2018) · Bioinformatics · doi:10.1093/bioinformatics/bty513 · Cited by 28
Hsu, K. J., McNamara, M. E., Shumake, J., Stewart, R. A., Labrada, J., Alario, A. A., Gonzalez, G. D. S., Schnyer, D. M., & Beevers, C. G. (2020) · Depression and Anxiety · doi:10.1002/da.23042 · Cited by 27
“Further, using nested cross‐validation can help obtain an unbiased estimate of test error (Varma & Simon, 2006) by embedding an additional 10‐fold cross‐validation procedure within the 90% of the dataset aside for model training to select tuning parameters.”
MethodMieronkoski, R., Syrjälä, E., Jiang, M., Rahmani, A. M., Pahikkala, T., Liljeberg, P., & Salanterä, S. (2020) · PLoS ONE · doi:10.1371/journal.pone.0235545 · Cited by 36
“This method estimated the overall predictability performance without observed data and optimization bias [40].”
MethodDetermination of the Geographical Origin of Asparagus officinalis L. by 1H NMR Spectroscopy
Klare, J., Rurik, M., Rottmann, E., Bollen, A., Kohlbacher, O., Fischer, M. J., & Hackl, T. (2020) · Journal of Agricultural and Food Chemistry · doi:10.1021/acs.jafc.0c05642 · Cited by 25
Automatic fundus image quality assessment on a continuous scale
Karlsson, R. A., Jónsson, B. A., Hardarson, S. H., Ólafsdóttir, Ó. B., Halldorsson, G. H., & Stefánsson, E. (2020) · Computers in Biology and Medicine · doi:10.1016/j.compbiomed.2020.104114 · Cited by 24
Prediction of Task Performance From Physiological Features of Stress Resilience
Šarlija, M., Popović, S., Jagodić, M., Jovanović, T., Ivković, V., Zhang, Q., Strangman, G. E., & Ćosić, K. (2020) · IEEE Journal of Biomedical and Health Informatics · doi:10.1109/jbhi.2020.3041315 · Cited by 30
“used to perform the tuning of the hyperparameters, was shown to reduce bias and give an accuracy estimate that is very close to that obtained on a completely independent testing set [57].”
ResultKuniyoshi, Y., Tokutake, H., Takahashi, N., Kamura, A., Yasuda, S., & Tashiro, M. (2020) · Frontiers in Pediatrics · doi:10.3389/fped.2020.570834 · Cited by 25
Multi-Omics Marker Analysis Enables Early Prediction of Breast Tumor Progression
Xu, H., Lien, T. G., Bergholtz, H., Fleischer, T., Djerroudi, L., Vincent‐Salomon, A., Sørlie, T., & Aittokallio, T. A. (2021) · Frontiers in Genetics · doi:10.3389/fgene.2021.670749 · Cited by 24
Wang, H., Xue, J., Qu, T., Bernstein, K., Chen, T., Barbee, D. L., Silverman, J. S., & Kondziolka, D. S. (2021) · Medical Physics · doi:10.1002/mp.15110 · Cited by 27
Evrimler, Ş., Gedik, M. A., Serel, T. A., Ertunç, O., Öztürk, S. A., & Soyupek, S. (2022) · Academic Radiology · doi:10.1016/j.acra.2022.02.007 · Cited by 24
Takeda, M., Oami, T., Hayashi, Y., Shimada, T., Hattori, N., Tateishi, K., Miura, R. E., Yamao, Y., Abe, R., Kobayashi, Y., et al. (2022) · Scientific Reports · doi:10.1038/s41598-022-18650-6 · Cited by 28
Develop a diagnostic tool for dementia using machine learning and non-imaging features
Wang, H., Sheng, L. Q., Xu, S., Jin, Y., Jin, X., Qiao, S., Chen, Q., Xing, W., Zhao, Z., Yan, J., et al. (2022) · Frontiers in Aging Neuroscience · doi:10.3389/fnagi.2022.945274 · Cited by 31
“On the other hand, the traditional k-fold CV can lead to over-optimistic estimates of the model’s performance (Varma and Simon, 2006).”
BackgroundMascalchi, M., Romei, C., Marzi, C., Diciotti, S., Picozzi, G., Pistelli, F., Zappa, M., Paci, E., Carozzi, F., Gorini, G., et al. (2023) · European Radiology · doi:10.1007/s00330-023-09504-4 · Cited by 26
Kucukkaya, A. S., Zeevi, T., Chai, N., Raju, R., Haider, S. P., Elbanan, M., Petukhova-Greenstein, A., Lin, M., Onofrey, J. A., Nowak, M., et al. (2023) · Scientific Reports · doi:10.1038/s41598-023-34439-7 · Cited by 29
Pereda, M., Santos, J. I., Martín, Ó., & Galán, J. M. (2015) · Science and Technology of Welding & Joining · doi:10.1179/1362171815y.0000000052 · Cited by 25
Using pre-treatment EEG data to predict response to SSRI treatment for MDD
Khodayari-Rostamabad, A., Reilly, J. P., Hasey, G., de Bruin, H., & MacCrimmon, D. J. (2010) · Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC) · doi:10.1109/iembs.2010.5627823 · Cited by 24
“Optimal values for the two design parameters associated with the KPLSR method (i.e., the number of major latent vectors and the standard deviation value of the Gaussian kernel function) are determined inside each fold (according to [ 14 ]) using a simple two‐dimensional grid search.”
MethodUpadhaya, T., Vallières, M., Chatterjee, A., Lucia, F., Bonaffini, P. A., Masson, I., Mervoyer, A., Reinhold, C., Schick, U., Seuntjens, J. P., et al. (2018) · IEEE Transactions on Radiation and Plasma Medical Sciences · doi:10.1109/trpms.2018.2878934 · Cited by 26
“This technique ensures unbiased feature selection and optimal model less prone to over-fitting and selection bias [21].”
MethodBrophy, M. J., Trueman, B. F., Park, Y., Betts, R. A., & Gagnon, G. A. (2018) · Environmental Science & Technology · doi:10.1021/acs.est.8b04139 · Cited by 24
Machine Learning in Biology and Medicine
Noorbakhsh, J., Chandok, H., Karuturi, R. K. M., & George, J. (2019) · Advances in Molecular Pathology · doi:10.1016/j.yamp.2019.07.010 · Cited by 28
Wang, C., Calle, P., Ton, N. B. T., Zhang, Z., Yan, F., Donaldson, A. M., Bradley, N. A., Yu, Z., Fung, K.-M. A., Pan, C., et al. (2021) · Biomedical Optics Express · doi:10.1364/boe.421299 · Cited by 25
Fernández‐Fontelo, A., Kieslich, P. J., Henninger, F., Kreuter, F., & Greven, S. (2021) · Social Science Computer Review · doi:10.1177/08944393211032950 · Cited by 25
“This avoids overoptimistic performance evaluation when tuning and validating on the same samples (Varma & Simon, 2006; see also Efron & Tibshirani, 1997; Hastie et al., 2009; James et al., 2013).”
MethodEhrhart, T., Palma, P., Schubert, M., Steiger, R., & Frangi, A. (2021) · Wood Science and Technology · doi:10.1007/s00226-021-01347-w · Cited by 22
Soares, J. C., Soares, A. C., Neto, M. P., Paulovich, F. V., Oliveira, O. N., & Mattoso, L. H. C. (2022) · Sensors and Actuators Reports · doi:10.1016/j.snr.2022.100083 · Cited by 23
Shen, Y., Liu, D., Jiang, L., Tøttrup, C., Druce, D., Yin, J., Nielsen, K., Bauer‐Gottwein, P., Wang, J., & Zhao, X. (2022) · Remote Sensing · doi:10.3390/rs14040815 · Cited by 25
“To validate the performance of blending schemes, the leave-one-out approach is used [56], fitting BMA weights with the ensemble simulations for all years except 1 year for validation (15 combinations for calibration/validation).”
MethodStratiform and Convective Rain Classification Using Machine Learning Models and Micro Rain Radar
Ghada, W., Casellas, E., Herbinger, J., García-Benadí, A., Bothmann, L., Estrella, N., Bech, J., & Menzel, A. (2022) · Remote Sensing · doi:10.3390/rs14184563 · Cited by 30
“Nested crossvalidation is typically chosen when hyperparameter tuning is involved since it allows tuning the hyperparameters of the ML models (in the inner folds) and at the same time estimates the generalization error (outer fold) [54].”
MethodOnline breath analysis with SESI/HRMS for metabolic signatures in children with allergic asthma
Weber, R., Streckenbach, B., Welti, L., Inci, D., Kohler, M., Perkins, N., Zenobi, R., Micic, S. J., & Mœller, A. (2023) · Frontiers in Molecular Biosciences · doi:10.3389/fmolb.2023.1154536 · Cited by 29
“In order to prevent bias during crossvalidation all preprocessing steps, feature selection and classifier development were strictly conducted on the training data sets, preventing any information leak from the left-out samples (Varma and Simon, 2006).”
MethodPellikka, P., Luotamo, M., Sädekoski, N., Hietanen, J., Vuorinne, I., Räsänen, M., Heiskanen, J., Siljander, M., Karhu, K. L., & Arto Klami, A. (2023) · The Science of The Total Environment · doi:10.1016/j.scitotenv.2023.163677 · Cited by 29
Impacts of Extreme-High-Temperature Events on Vegetation in North China
Yang, Q., Jiang, C. P., & Ding, T. (2023) · Remote Sensing · doi:10.3390/rs15184542 · Cited by 24
Tertipis, N., Hammar, U., Näsman, A., Vlastos, A., Nordfors, C., Grün, N., Ährlund‐Richter, A., Sivars, L., Haeggblom, L., Marklund, L., et al. (2015) · European Journal of Cancer · doi:10.1016/j.ejca.2015.04.024 · Cited by 26
Ziv, E., Tymofiyeva, O., Ferriero, D. M., Barkovich, A. J., Hess, C. P., & Xu, D. (2013) · PLoS ONE · doi:10.1371/journal.pone.0078824 · Cited by 27
“However, this testing error had an inherent bias [35], which we avoided by employing an outer loop of cross-validation to estimate the true generalization error–counting the number of misclassifications on a hold-out set from each inner loop and averaging over the folds.”
MethodLötsch, J., Geißlinger, G., Heinemann, S., Lerch, F., Oertel, B. G., & Ultsch, A. (2017) · Pain · doi:10.1097/j.pain.0000000000001008 · Cited by 28
Su, S., Masuda, T., & Takai, M. (2024) · The Journal of Physical Chemistry B · doi:10.1021/acs.jpcb.3c08422 · Cited by 26
Sarisik, E., Popovic, D., Keeser, D., Khuntia, A. T., Schiltz, K., Falkai, P., Pogarell, O. M., & Koutsouleris, N. (2024) · Schizophrenia Bulletin · doi:10.1093/schbul/sbae150 · Cited by 32
XGBoost model for the quantitative assessment of stress corrosion cracking
Zuniga, A. R., Bakhtiari, S. R., Aldrich, C., Calo, V. M., & Iannuzzi, M. (2024) · npj Materials Degradation · doi:10.1038/s41529-024-00538-7 · Cited by 28
“This CV protocol performs outstandingly when hyperparameter tuning is integral to model building 117,118 .”
Metadata
- Authors
- Varma, S., & Simon, R.
- Affiliations
- National Cancer Institute (US)
- Corresponding author
- Varma, Sudhir
- Venue
- BMC Bioinformatics
- Published
- 2006-02-23
- Volume
- 7
- Issue
- 1
- Pages
- 91-91
- ISSN
- 1471-2105 (ISSN-L)
- PMC
- PMC1397873
- OpenAlex
- W2141007997
- Cited by
- 2,485
- References
- 13
- Citations by year
- 2026: 760 · 2025: 246 · 2024: 146 · 2023: 165 · 2022: 178 · 2021: 179 · 2020: 190 · 2019: 110 · 2018: 96 · 2017: 90 · 2016: 49 · 2015: 47 · 2014: 43 · 2013: 42 · 2012: 35
- FWCI
- 7.08
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- cc-by
- Locations
- BMC Bioinformatics (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Topics
- Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Gene expression and cancer classification
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Inference
- Keywords
- prediction error estimation, model selection, nested cross-validation, classifier parameter tuning, support vector machine, leave-one-out cross-validation, 10-fold cross-validation
- MeSH terms
- Algorithms, Artificial Intelligence, Computer Simulation, Data Interpretation, Statistical, Models, Genetic, Pattern Recognition, Automated, Sensitivity and Specificity, Reproducibility of Results, Models, Statistical, Bias, Oligonucleotide Array Sequence Analysis, Gene Expression Profiling
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.