The relative data hungriness of unpenalized and penalized logistic regression and ensemble-based machine learning methods: the case of calibration
Authors:
Open Access
- 5 November 2024
- journal article
- research article
- Published by Springer Nature in Diagnostic and Prognostic Research
- Vol. 8 (1) , 1-18
Abstract
Machine learning methods are increasingly being used to predict clinical outcomes. Optimism is the difference in model performance between derivation and validation samples. The term “data hungriness” refers to the sample size needed for a modelling technique to generate a prediction model with minimal optimism. Our objective was to compare the relative data hungriness of different statistical and machine learning methods when assessed using calibration. We used Monte Carlo simulations to assess the effect of number of events per variable (EPV) on the optimism of six learning methods when assessing model calibration: unpenalized logistic regression, ridge regression, lasso regression, bagged classification trees, random forests, and stochastic gradient boosting machines using trees as the base learners. We performed simulations in two large cardiovascular datasets each of which comprised an independent derivation and validation sample: patients hospitalized with acute myocardial infarction and patients hospitalized with heart failure. We used six data-generating processes, each based on one of the six learning methods. We allowed the sample sizes to be such that the number of EPV ranged from 10 to 200 in increments of 10. We applied six prediction methods in each of the simulated derivation samples and evaluated calibration in the simulated validation samples using the integrated calibration index, the calibration intercept, and the calibration slope. We also examined Nagelkerke’s R2, the scaled Brier score, and the c-statistic. Across all 12 scenarios (2 diseases × 6 data-generating processes), penalized logistic regression displayed very low optimism even when the number of EPV was very low. Random forests and bagged trees tended to be the most data hungry and displayed the greatest optimism. When assessed using calibration, penalized logistic regression was substantially less data hungry than methods from the machine learning literature.Keywords
This publication has 27 references indexed in Scilit:
- Machine Learning Compared With Conventional Statistical Models for Predicting Myocardial Infarction Readmission and Mortality: A Systematic ReviewCanadian Journal of Cardiology, 2021
- Machine Learning vs. Conventional Statistical Models for Predicting Heart Failure Readmission and MortalityESC Heart Failure, 2020
- The Integrated Calibration Index (ICI) and related metrics for quantifying the calibration of logistic regression modelsStatistics in Medicine, 2019
- Clinical Prediction Models2019
- Regression Modeling Strategies2015
- Graphical assessment of internal and external calibration of logistic regression models by using loess smoothersStatistics in Medicine, 2013
- Regression trees for predicting mortality in patients with cardiovascular disease: What improvement is achieved by using ensemble‐based methods?Biometrical Journal, 2012
- Effectiveness of Public Report Cards for Improving the Quality of Cardiac CareJAMA, 2009
- The Elements of Statistical Learning2009
- A comparison of regression trees, logistic regression, generalized additive models, and multivariate adaptive regression splines for predicting AMI mortalityStatistics in Medicine, 2006