A

A comparison of hyperparameter tuning procedures for clinical prediction models: A simulation study

Statistics in Medicine, vol. 43, pp. 1119–1134

Abstract

Tuning hyperparameters, such as the regularization parameter in Ridge or Lasso regression, is often aimed at improving the predictive performance of risk prediction models. In this study, various hyperparameter tuning procedures for clinical prediction models were systematically compared and evaluated in low-dimensional data. The focus was on out-of-sample predictive performance (discrimination, calibration, and overall prediction error) of risk prediction models developed using Ridge, Lasso, Elastic Net, or Random Forest. The influence of sample size, number of predictors and events fraction on performance of the hyperparameter tuning procedures was studied using extensive simulations. The results indicate important differences between tuning procedures in calibration performance, while generally showing similar discriminative performance. The one-standard-error rule for tuning applied to cross-validation (1SE CV) often resulted in severe miscalibration. Standard non-repeated and repeated cross-validation (both 5-fold and 10-fold) performed similarly well and outperformed the other tuning procedures. Bootstrap showed a slight tendency to more severe miscalibration than standard cross-validation-based tuning procedures. Differences between tuning procedures were larger for smaller sample sizes, lower events fractions and fewer predictors. These results imply that the choice of tuning procedure can have a profound influence on the predictive performance of prediction models. The results support the application of standard 5-fold or 10-fold cross-validation that minimizes out-of-sample prediction error. Despite an increased computational burden, we found no clear benefit of repeated over non-repeated cross-validation for hyperparameter tuning. We warn against the potentially detrimental effects on model calibration of the popular 1SE CV rule for tuning prediction models in low-dimensional settings.

Authors 5

  1. Zoë S Dunias corresponding

    Utrecht University · University Medical Center Utrecht

    Affiliation as printed

    Julius Center for Health Sciences and Primary Care University Medical Center Utrecht Utrecht The Netherlands

    Julius Center for Health Sciences and Primary Care, University Medical Center Utrecht, Utrecht, The Netherlands

  2. Leiden University Medical Center · KU Leuven

    Affiliation as printed

    Department of Biomedical Data Sciences Leiden University Medical Center Leiden The Netherlands

    Department of Development and Regeneration KU Leuven Leuven Belgium

    Department of Biomedical Data Sciences, Leiden University Medical Center, Leiden, The Netherlands

    Department of Development and Regeneration, KU Leuven, Leuven, Belgium

  3. Universitair Ziekenhuis Leuven · KU Leuven

    Affiliation as printed

    Department of Development and Regeneration KU Leuven Leuven Belgium

    Department of Obstetrics and Gynecology University Hospitals Leuven Leuven Belgium

    Department of Development and Regeneration, KU Leuven, Leuven, Belgium

    Department of Obstetrics and Gynecology, University Hospitals Leuven, Leuven, Belgium

  4. Munich Center for Machine Learning · Institut für Medizinische Informationsverarbeitung, Biometrie und Epidemiologie · Ludwig-Maximilians-Universität München

    Affiliation as printed

    Institute for Medical Information Processing, Biometry and Epidemiology University of Munich Munich Germany

    Munich Center for Machine Learning (MCML), LMU Munich Munich Germany

    Institute for Medical Information Processing, Biometry and Epidemiology, University of Munich, Munich, Germany

    Munich Center for Machine Learning (MCML), LMU Munich, Munich, Germany

  5. Utrecht University · University Medical Center Utrecht

    Affiliation as printed

    Julius Center for Health Sciences and Primary Care University Medical Center Utrecht Utrecht The Netherlands

    Julius Center for Health Sciences and Primary Care, University Medical Center Utrecht, Utrecht, The Netherlands

Cited by 35 stored of 35

No patents citing this paper on Lens.org (checked 2026-10-11).

References 40