| Literature DB >> 34676061 |
Wenzhi Zhang1,2, Runchuan Li1,2, Shengya Shen3, Jinliang Yao1,2, Yan Peng1,2, Gang Chen2, Bing Zhou1,2, Zongmin Wang1,2.
Abstract
Myocardial infarction (MI) is one of the most common cardiovascular diseases threatening human life. In order to accurately distinguish myocardial infarction and have a good interpretability, the classification method that combines rule features and ventricular activity features is proposed in this paper. Specifically, according to the clinical diagnosis rule and the pathological changes of myocardial infarction on the electrocardiogram, the local information extracted from the Q wave, ST segment, and T wave is computed as the rule feature. All samples of the QT segment are extracted as ventricular activity features. Then, in order to reduce the computational complexity of the ventricular activity features, the effects of Discrete Wavelet Transform (DWT), Principal Component Analysis (PCA), and Locality Preserving Projections (LPP) on the extracted ventricular activity features are compared. Combining rule features and ventricular activity features, all the 12 leads features are fused as the ultimate feature vector. Finally, eXtreme Gradient Boosting (XGBoost) is used to identify myocardial infarction, and the overall accuracy rate of 99.86% is obtained on the Physikalisch-Technische Bundesanstalt (PTB) database. This method has a good medical diagnosis basis while improving the accuracy, which is very important for clinical decision-making.Entities:
Mesh:
Year: 2021 PMID: 34676061 PMCID: PMC8526260 DOI: 10.1155/2021/4123471
Source DB: PubMed Journal: J Healthc Eng ISSN: 2040-2295 Impact factor: 2.682
Figure 1Different forms of myocardial infarction. (a) The morphology is manifested as only abnormal Q waves. (b) The morphological manifestation is ST segment elevation and T wave height. (c) The morphology is ST segment elevation, T wave inversion, and normal Q wave. (d) The appearance of abnormal Q wave and T wave inversion.
Summary of related work.
| Method | Feature | Literatures |
|---|---|---|
| Deep learning | End-to-end | [ |
|
| ||
| Machine learning | Morphology | [ |
| Interval | [ | |
| Area | [ | |
| Wavelet coefficients | [ | |
| Discrete Cosine Transform | [ | |
| Empirical Mode Decomposition | [ | |
Figure 2Myocardial infarction classification algorithm flow.
Figure 3Raw data of myocardial infarction.
Figure 4Myocardial infarction data after denoising.
Statistical results of wave detection in collaborative center ECG data.
| Records | R wave | P wave | T wave | ||||||
|---|---|---|---|---|---|---|---|---|---|
| + | Se% | Acc% | + | Se% | Acc% | + | Se% | Acc% | |
| 001 | 99.78 | 100 | 99.78 | 99.93 | 99.95 | 99.89 | 99.79 | 99.87 | 99.67 |
| 002 | 99.94 | 100 | 99.94 | 99.92 | 99.92 | 99.84 | 99.79 | 99.87 | 99.67 |
| 003 | 99.93 | 99.93 | 99.87 | 99.84 | 99.96 | 99.81 | 99.93 | 99.90 | 99.84 |
| 004 | 99.89 | 100 | 99.89 | 99.86 | 99.86 | 99.73 | 99.76 | 99.83 | 99.59 |
| 005 | 99.91 | 100 | 99.91 | 99.88 | 100 | 99.88 | 99.95 | 100 | 99.95 |
Figure 5Position mark of each waveform detected.
Figure 6The annotation of extracted features.
ECG signal features in this paper.
| Number | ECG signal features | Introduction of ECG signal feature parameters |
|---|---|---|
| 1 | Rule features | Including ST segment features description, Q wave features description, and T wave features description, a total of 7 features |
|
| ||
| 2 | Ventricular activity features | Including 1000 sample points of the QT segment |
|
| ||
| 3 | Ventricular fusion rule features | Combining ruler features and ventricular activity features |
Figure 7XGBoost algorithm structure.
PTB dataset diseases.
| No. | Diagnostic class | Records |
|---|---|---|
| 1 | Bundle branch block | 17 |
| 2 | Cardiomyopathy | 17 |
| 3 | Dysrhythmia | 16 |
| 4 | Healthy control | 80 |
| 5 | Heart failure | 3 |
| 6 | Myocardial hypertrophy | 7 |
| 7 | Myocardial infarction | 368 |
| 8 | Myocarditis | 4 |
| 9 | N/A: clinical summary not available | 27 |
| 10 | Palpitation | 1 |
| 11 | Stable angina | 2 |
| 12 | Unstable angina | 1 |
| 13 | Valvular heart disease | 6 |
Total number of heart beats extracted.
| Class | Number of beats |
|---|---|
| A | 5001 |
| AL | 4695 |
| AS | 3219 |
| I | 5395 |
| IL | 3391 |
| IP | 503 |
| IPL | 1739 |
| P | 460 |
| H | 5820 |
| O | 7136 |
| Total | 37359 |
Performance comparison of each classifier on PCA, LPP, and DWT.
| Classifier | PCA (%) | LPP (%) | DWT (%) |
|---|---|---|---|
| KNN | 53.94 | 97.74 | 98.15 |
| GNB | 26.70 | 23.43 | 48.00 |
| LDA | 13.88 | 27.07 | 76.00 |
| LR | 14.31 | 39.75 | 82.17 |
| DT | 73.16 | 98.71 | 92.84 |
| SVM | 61.17 | 37.10 | 98.55 |
| Random forest | 80.75 | 99.43 | 99.46 |
| AdaBoost | 73.80 | 98.31 | 92.46 |
| ExtraTrees | 70.80 | 99.19 | 99.59 |
| Bagging | 88.12 | 99.19 | 98.89 |
| GBDT | 67.98 | 99.65 | 97.96 |
|
| 93.02 | 99.65 | 99.70 |
|
| 59.80 | 76.60 | 90.31 |
Classification performance of three feature sets on XGBoost.
| Classifier | Rule features (%) | Ventricular activity features (%) | Ventricular fusion rule features (%) |
|---|---|---|---|
| XGBoost | 99.67 | 99.70 | 99.86 |
XGBoost with ventricular fusion rule features of classification results specific category statistics.
| A | AS | AL | I | IL | IP | IPL | P | H | O | |
|---|---|---|---|---|---|---|---|---|---|---|
| A | 500 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| AS | 1 | 468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| AL | 0 | 0 | 320 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| I | 0 | 0 | 0 | 537 | 1 | 0 | 0 | 0 | 0 | 1 |
| IL | 0 | 0 | 0 | 0 | 339 | 0 | 0 | 0 | 0 | 0 |
| IP | 0 | 0 | 0 | 0 | 0 | 50 | 0 | 0 | 0 | 0 |
| IPL | 0 | 0 | 0 | 0 | 0 | 0 | 173 | 0 | 0 | 0 |
| P | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 46 | 0 | 0 |
| H | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 582 | 0 |
| O | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 710 |
XGBoost with ventricular fusion rule features of classification results.
| TP | TN | FP | FN | Se | Sp | + | Acc | |
|---|---|---|---|---|---|---|---|---|
| A | 500 | 3229 | 1 | 0 | 100 | 99.97 | 99.80 | 99.97 |
| AS | 468 | 3261 | 0 | 1 | 99.79 | 100 | 100 | 99.97 |
| AL | 320 | 3409 | 0 | 1 | 99.69 | 100 | 100 | 99.97 |
| I | 537 | 3191 | 0 | 2 | 99.63 | 100 | 100 | 99.95 |
| IL | 339 | 3390 | 1 | 0 | 100 | 99.97 | 99.71 | 99.97 |
| IP | 50 | 3680 | 0 | 0 | 100 | 100 | 100 | 100 |
| IPL | 173 | 3557 | 0 | 0 | 100 | 100 | 100 | 100 |
| P | 46 | 3683 | 1 | 0 | 100 | 99.97 | 97.87 | 99.97 |
| H | 582 | 3147 | 1 | 0 | 100 | 99.97 | 99.83 | 99.97 |
| O | 710 | 3019 | 1 | 1 | 99.86 | 99.97 | 99.86 | 99.95 |
Figure 8Confusion matrix based on classification results of XGBoost with ventricular fusion rule features.
Detailed performance comparison between XGBoost and other basic classifiers.
| Classifier | Rule features (%) | Ventricular activity features (%) | Ventricular fusion rule features (%) |
|---|---|---|---|
| GNB | 42.68 | 48.00 | 56.11 |
| LDA | 55.63 | 76.00 | 84.98 |
| LR | 61.98 | 82.17 | 92.57 |
| DT | 93.53 | 92.84 | 95.65 |
| SVM | 89.00 | 98.55 | 99.08 |
| KNN | 95.33 | 98.15 | 99.06 |
|
| 99.67 | 99.70 | 99.86 |
Detailed performance comparison between XGBoost and other ensemble classifiers.
| Classifier | Rule features (%) | Ventricular activity features (%) | Ventricular fusion rule features (%) |
|---|---|---|---|
| Random Forest | 99.27 | 99.46 | 99.75 |
| ExtraTrees | 99.51 | 99.59 | 99.75 |
| AdaBoost | 94.45 | 92.46 | 95.54 |
| Bagging | 98.25 | 97.98 | 98.60 |
| GBDT | 98.04 | 97.96 | 99.19 |
|
| 99.67 | 99.70 | 99.86 |
Comparison of the proposed method with other related literature.
| Reference | Class number | Feature | Classifier | Performance (%) |
|---|---|---|---|---|
| Lin et al. [ | 2 | MODWPT, statistical | KNN | Acc = 99.57; Se = 99.82; Sp = 98.79 |
| Baloglu et al. [ | 11 | End-to-end | CNN | Acc = 99.78; |
| Han and Shi [ | 7 | End-to-end | ResNet | Acc = 99.72; Se = 99.63; Sp = 99.72; |
| Han and Shi [ | 2 | MODWPT, morphological | SVM | Acc = 99.81; Se = 99.56; + |
| Acharya et al. [ | 11 | DWT | KNN | Acc = 98.80; Se = 99.45; Sp = 96.27 |
| Padhy and Dandapat [ | 6 | Singular Value Decomposition | SVM | Acc = 95.30; Se = 94.60; Sp = 96.00 |
| Liu et al. [ | 6 | End-to-end | CNN | Acc = 99.81 |
|
| 10 | DWT, rule features | XGBoost | Acc = 99.86; Se = 99.86; Sp = 99.86 |