Background: Clinical prediction models are increasingly used to inform healthcare decisions, but determining the minimum sample size for their development remains a critical and unresolved challenge. Inadequate sample sizes can lead to overfitting, poor generalisability, and biased predictions. Existing approaches, such as heuristic rules, closed-form formulas, and simulation-based methods, vary in flexibility and accuracy, particularly for complex data structures and machine learning models. Methods: We review current methodologies for sample size estimation in prediction modelling and introduce a conceptual framework that distinguishes between mean-based and assurance-based criteria. Building on this, we propose a novel simulation-based approach that integrates learning curves, Gaussian Process optimisation, and assurance principles to identify sample sizes that achieve target performance with high probability. This approach is implemented in pmsims, an open-source, model-agnostic R package. Results: Through case studies, we demonstrate that sample size estimates vary substantially across methods, performance metrics, and modelling strategies. Compared to existing tools, pmsims provides flexible, efficient, and interpretable solutions that accommodate diverse models and user-defined metrics while explicitly accounting for variability in model performance. Conclusions: Our framework and software advance sample size methodology for clinical prediction modelling by combining flexibility with computational efficiency. Future work should extend these methods to hierarchical and multimodal data, incorporate fairness and stability metrics, and address challenges such as missing data and complex dependency structures.
MLJ: A Julia package for composable machine learning
University of Auckland(奥克兰大学);Alan Turing Institute(艾伦·图灵研究所);New Zealand eScience Infrastructure(新西兰电子科学基础设施);University College London(伦敦大学学院);Imperial College London(帝国理工学院);University of St Andrews(圣安德鲁斯大学);University of Warwick(华威大学)
MLJ(Machine Learing in Julia)是一个开源软件包,提供了一个通用接口,用于与Julia和其他语言编写的机器学习模型进行交互。它提供了用于选择、调优、评估、组合和比较这些模型的工具和元算法,重点是灵活的模型组合。在这个设计概述中,我们详细介绍了框架的主要新颖之处,以及Julia相对于占主导地位的多语言替代方案的明显优势。
BEND: An R Package for the Bayesian Estimation of Nonlinear Longitudinal Data
Human Resources Research Organization (HumRRO)(人力资源研究组织);Bloomington Public Schools(布卢明顿公立学校);Center for Research and Teaching in Economics(经济研究与教学中心);University of Minnesota(明尼苏达大学)