Cross Hospital Validation of Machine Learning for Angiographic Coronary Artery Disease
Main Article Content
Abstract
Machine learning can distinguish patients with and without coronary artery disease in a development cohort, but its value depends on whether that performance carries over to other hospitals and whether its probabilities agree with observed disease frequency. To compare penalized logistic regression and gradient boosting across four hospital cohorts and estimate the incremental discrimination obtained by adding exercise test information. We analyzed 920 records from the UCI Heart Disease archive using internal external validation. In each fold, three hospitals supplied training data and the fourth supplied test data. We compared resting and exercise-augmented predictor sets using the area under the receiver operating characteristic curve (AUROC), average precision, Brier score, and calibration plots. Paired test-set bootstraps quantified uncertainty in differences in AUROC. The archive included 509 positive records. Disease prevalence ranged from 36.1% to 93.5%. Exercise-augmented logistic regression achieved AUROCs of 0.733 to 0.889 across hospitals. The difference in AUROC between exercise-augmented boosting and logistic regression ranged from -0.047 to +0.032. The exercise-augmented models underpredicted the average disease frequency in Switzerland and Long Beach VA. The findings show how hospital-level differences can change both discrimination and calibration. The historical cohorts support a methodological comparison of transportability. Contemporary clinical performance remains unverified.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
[1] R. Detrano et al., “International application of a new probability algorithm for the diagnosis of coronary artery disease,” Am. J. Cardiol., vol. 64, no. 5, pp. 304–310, 1989, doi: https://doi.org/10.1016/0002-9149(89)90524-9.
[2] S. F. Weng, J. Reps, J. Kai, J. M. Garibaldi, and N. Qureshi, “Can machine-learning improve cardiovascular risk prediction using routine clinical data?,” PLoS One, vol. 12, no. 4, p. e0174944, 2017, doi: https://doi.org/10.1371/journal.pone.0174944.
[3] A. Dinh, S. Miertschin, A. Young, and S. D. Mohanty, “A data-driven approach to predicting diabetes and cardiovascular disease with machine learning,” BMC Med. Inform. Decis. Mak., vol. 19, no. 1, p. 211, 2019, doi: https://doi.org/10.1186/s12911-019-0918-5.
[4] W. Huang et al., “Application of ensemble machine learning algorithms on lifestyle factors and wearables for cardiovascular risk prediction,” Sci. Rep., vol. 12, p. 1033, 2022, doi: https://doi.org/10.1038/s41598-021-04649-y.
[5] C. A. ul Hassan et al., “Effectively Predicting the Presence of Coronary Heart Disease Using Machine Learning Classifiers,” Sensors, vol. 22, no. 19, p. 7227, 2022, doi: https://doi.org/10.3390/s22197227.
[6] S. Mohan, C. Thirumalai, and G. Srivastava, “Effective Heart Disease Prediction Using Hybrid Machine Learning Techniques,” IEEE Access, vol. 7, pp. 81542–81554, 2019, doi: https://doi.org/10.1109/ACCESS.2019.2923707.
[7] I. D. Mienye, Y. Sun, and Z. Wang, “An improved ensemble learning approach for the prediction of heart disease risk,” Informatics Med. Unlocked, vol. 20, p. 100402, 2020, doi: https://doi.org/10.1016/j.imu.2020.100402.
[8] E. Christodoulou, J. Ma, G. S. Collins, E. W. Steyerberg, J. Y. Verbakel, and B. Van Calster, “A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models,” J. Clin. Epidemiol., vol. 110, pp. 12–22, 2019, doi: https://doi.org/10.1016/j.jclinepi.2019.02.004.
[9] B. Van Calster, D. J. McLernon, M. van Smeden, L. Wynants, and E. W. Steyerberg, “Calibration: The Achilles heel of predictive analytics,” BMC Med., vol. 17, no. 1, p. 230, 2019, doi: https://doi.org/10.1186/s12916-019-1466-7.
[10] A. Janosi, W. Steinbrunn, M. Pfisterer, and R. Detrano, “Heart Disease,” UCI Machine Learning Repository. 1988. doi: https://doi.org/10.24432/C52P4X.
[11] G. S. Collins, J. B. Reitsma, D. G. Altman, and K. G. M. Moons, “Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): The TRIPOD statement,” Ann. Intern. Med., vol. 162, no. 1, pp. 55–63, 2015, doi: https://doi.org/10.7326/M14-0697.
[12] T. P. A. Debray, Y. Vergouwe, H. Koffijberg, D. Nieboer, E. W. Steyerberg, and K. G. M. Moons, “A new framework to enhance the interpretation of external validation studies of clinical prediction models,” J. Clin. Epidemiol., vol. 68, no. 3, pp. 279–289, 2015, doi: https://doi.org/10.1016/j.jclinepi.2014.06.018.
[13] T. Saito and M. Rehmsmeier, “The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets,” PLoS One, vol. 10, no. 3, p. e0118432, 2015, doi: https://doi.org/10.1371/journal.pone.0118432.
[14] A. J. Vickers and E. B. Elkin, “Decision curve analysis: A novel method for evaluating prediction models,” Med. Decis. Mak., vol. 26, no. 6, pp. 565–574, 2006, doi: https://doi.org/10.1177/0272989X06295361.
[15] E. Topol, “High-performance medicine: the convergence of human and artificial intelligence,” Nat. Med., vol. 25, Jan. 2019, doi: https://doi.org/10.1038/s41591-018-0300-7.