Evaluating the sample size requirements of tree-based ensemble machine learning techniques for clinical risk prediction

Machine learning techniques (MLTs) are increasingly being used to develop clinical risk prediction models for binary health outcomes but the sample size requirements for developing and validating such models remain unclear. This study investigates whether sample size guidelines that target mean absolute prediction error (MAPE) for logistic regression models can be applied to tree-based ensemble MLTs (bagging, random forests, and boosting). Simulations based on two large cardiovascular datasets were used to evaluate the performance of MLTs in terms of MAPE, calibration, the <i>C</i>-statistic and Brier score, across six data-generating mechanisms (DGMs) and varying sample sizes. When the DGM and analysis model matched, boosting required a sample size 2-3 times larger than recommended; random forests and bagging did not achieve the target MAPE even with a 12-fold increase. For a neutral DGM that did not match any of the analysis models, logistic regression with only main effects and boosting resulted in target MAPE values with a 12-fold increase in the recommended sample size. For external validation, our simulations showed that sample size guidelines to achieve a target precision of the estimated <i>C</i>-statistic were suitable, and thus may be used to inform sample size calculations for MLTs.

Authors

Institutions

Publication Details

Journal
Statistical Methods in Medical Research
Published
2025-05-14
DOI
https://doi.org/10.1177/09622802251338983
Citations
3
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
7.44

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating the sample size requirements of tree-based ensemble machine learning techniques for clinical risk prediction

Oya Kalaycıoğlu, Rumana Omar, Serhat Emre Akhanlı, Mark de Belder et al.
3 citations
Statistical Methods in Medical Research
Machine Learning in Healthcare
7.44
article

Evaluating the sample size requirements of tree-based ensemble machine learning techniques for clinical risk prediction

Oya Kalaycıoğlu, Rumana Omar, Serhat Emre Akhanlı, Mark de Belder, Gareth Ambler, Menelaos Pavlou
article en
3 citations

Abstract

Machine learning techniques (MLTs) are increasingly being used to develop clinical risk prediction models for binary health outcomes but the sample size requirements for developing and validating such models remain unclear. This study investigates whether sample size guidelines that target mean absolute prediction error (MAPE) for logistic regression models can be applied to tree-based ensemble MLTs (bagging, random forests, and boosting). Simulations based on two large cardiovascular datasets were used to evaluate the performance of MLTs in terms of MAPE, calibration, the <i>C</i>-statistic and Brier score, across six data-generating mechanisms (DGMs) and varying sample sizes. When the DGM and analysis model matched, boosting required a sample size 2-3 times larger than recommended; random forests and bagging did not achieve the target MAPE even with a 12-fold increase. For a neutral DGM that did not match any of the analysis models, logistic regression with only main effects and boosting resulted in target MAPE values with a 12-fold increase in the recommended sample size. For external validation, our simulations showed that sample size guidelines to achieve a target precision of the estimated <i>C</i>-statistic were suitable, and thus may be used to inform sample size calculations for MLTs.

Statistical Methods in Medical ResearchVol. 34(7)
NIHR Research Delivery Network (GB), University College London (GB), Bolu Abant İzzet Baysal University (TR), Muğla University (TR)
Türkiye Bilimsel ve Teknolojik Araştırma Kurumu, Medical Research Council
Openalex Percentile: Top 3%
Machine Learning in Healthcare
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.