In Frontiers in cardiovascular medicine
Background: Acute myocardial infarction (AMI) is associated with a poor prognosis. Therefore, accurate diagnosis and early intervention of the culprit lesion are of extreme importance. Therefore, we developed a neural network algorithm in this study to automatically diagnose AMI from 12-lead electrocardiograms (ECGs). Methods: We used the open-source PTB-XL database as the training and validation sets, with a 7:3 sample size ratio. Twenty-One thousand, eight hundred thirty-seven clinical 12-lead ECGs from the PTB-XL dataset were available for training and validation (15,285 were used in the training set and 6,552 in the validation set). Additionally, we randomly selected 205 ECGs from a dataset built by Chapman University, CA, USA and Shaoxing People's Hospital, China, as the testing set. We used a residual network for training and validation. The model performance was experimentally verified in terms of area under the curve (AUC), precision, sensitivity, specificity, and F1 score. Results: The AUC of the training, validation, and testing sets were 0.964 [95% confidence interval (CI): 0.961-0.966], 0.944 (95% CI: 0.939-0.949), and 0.977 (95% CI: 0.961-0.991), respectively. The precision, sensitivity, specificity, and F1 score of the deep learning model for AMI diagnosis from ECGs were 0.827, 0.824, 0.950, and 0.825, respectively, in the training set, 0.789, 0.818, 0.913, and 0.803, respectively, in the validation set, and 0.830, 0.951, 0.951, and 0.886, respectively, in the testing set. The AUC for automatic AMI location diagnosis of LMI, IMI, ASMI, AMI, ALMI were 0.969 (95% CI: 0.959-0.979), 0.973 (95% CI: 0.962-0.978), 0.987 (95% CI: 0.963-0.989), 0.961 (95% CI: 0.956-0.989), and 0.996 (95% CI: 0.957-0.997), respectively. Conclusions: The residual network-based algorithm can effectively automatically diagnose AMI and MI location from 12-lead ECGs.
Chen Xiehui, Guo Wenqin, Zhao Lingyue, Huang Weichao, Wang Lili, Sun Aimei, Li Lang, Mo Fangrui
acute myocardial infarction, convolutional neural network, deep learning, electrocardiogram, residual network