Figure 4.

Comparison of ten machine-learning algorithms: (A) external-validation AUC with 95% bootstrap confidence intervals; (B) training-to-external AUC gap, with algorithms ranked by external-validation AUC. Regularized logistic regression, LASSO logistic regression, and elastic-net achieved the joint-highest external-validation AUC, whereas tree-based ensembles showed the largest overfitting gaps.