Myocardial Ischemia Detection Using a Reduced Number of ECG Leads




myocardial ischemia, machine learning, cardiocycle, cardio interval, wavelet analysis, area T wave, cross-validation, heart diseases detection


The study is devoted to the investigation of the electrocardiographic (ECG) features to distinguish norm and myocardial ischemia in reduced set of electrocardiographic leads. In particular, for myocardial ischemia detection the spectral features of the electrocardiographic signal and characteristics of the shape of ECG waves are considered. The main features commonly used for myocardial ischemia detection are described in the paper, as well as more reliable analogs are proposed for the considered task. The approach for ECG signal preprocessing, identification of the necessary signal segments and subsequent calculation of features is described in detail. The considered features are based on the areas under the characteristic waves of the ECG signal and the spectral distribution of these waves. The most informative features for myocardial ischemia detection are identified and selected from the initial set of parameters which led to a two-fold reduction in number of ECG leads comparing to the standard 12-lead electrocardiogram. The techniques for determining the proposed features, namely the ratio of the area under T wave to the area under the P wave, as well as the ratio of the area under T wave to the area of the entire cardiac cycle, are considered. These features together with other calculated parameters are assumed to describe the majority of pathology cases and gave a high accuracy of the classification ECG to norm and ischemic myocardial diseasesince they reflect the bioelectrical processes that occur in the presence of myocardial ischemia and manifest themselves on the surface ECG. Based on the analysis of principal components and the method t-distributed stochastic neighbor embedding, the distribution of data in the space of features that characterize the classes of norm and pathology was shown. Raw ECG data in norm and with cases of myocardial ischemia were obtained from the ''PTB Diagnostic ECG Database'' used in ''The PhysioNet/Computing in Cardiology Challenge 2020''. This database contains 22353 ECG records from 290 persons with 12 ECG leads (I, II, III, aVR, aVL, aVF, and V1–V6). The database contains the high-resolution ECG signals, which enabled to obtain 10,000 cardio cycles presenting norm and myocardial ischemia pathology for the subsequent training the machine learning algorithms. Based on the obtained features, various machine learning algorithms were trained and the accuracy was compared on different combinations of ECG leads. Аs a result of cross-validation, the accuracy of myocardial ischemia detection was 99% with a standard deviation of 0.4% for 6 leads (I, II, III, AVR, AVL, AVF) and 93% with a standard deviation of 0.12% for one lead (I). Thus, it was shown, that with machine learning methods it is possible to recognize ischemic myocardial disease with high accuracy and stability using six standard ECG leads or only one ECG lead.



Deal B. J. (2009). Arrhythmias in congenital heart disease. Adult Congenital Heart Disease, pp. 221–236.

Heart attack. (2022). National Heart Lung and Blood Institute.

Take an ECG with the ECG app on Apple Watch. (2022). Apple Support.

Glazunov M., Aranda A., and Galuzzi C. (2021). Optimal ECG Lead System for Automatic Myocardial Ischemia Detection. 2021 Computing in Cardiology (CinC). DOI: 10.23919/CinC53138.2021.9662763.

Wagner P., et al. (2020). PTB-XL, a large publicly available electrocardiography dataset. Scientific Data, Vol. 7, Article number: 154. DOI:10.1038/s41597-020-0495-6.

Brundage J. N., et al. (2021). Myocardial Ischemia Detection Using Body Surface Potential Mappings and Machine Learning. 2021 Computing in Cardiology (CinC). DOI: 10.23919/CinC53138.2021.9662808.

Dash S. R., Sheeraz A. S., and Samantaray A. (2018). Filtration and Classification of ECG Signals. In Handbook of Research on Information Security in Biomedical Signal Processing. IGI Global, pp. 72–94. DOI: 10.4018/978-1-5225-5152-2.ch005.

Bohara R. (2014). Trapezoidal Method Algorithm and Flowchart. CODEWITHC. The way to Programming.

Kannan P., Maheswari S., Pon Bharathi A., and Wilson A. J. (2021). Spectral and performance measures analysis of ECG signal using various transforms and different types of iir and fir filters with different orders. International Journal of Electrical Engineering and Technology (IJEET), Vol. 12, Iss. 5, pp. 96-108. DOI: 10.34218/IJEET.12.5.2021.009.

Verma A. K., Saini I., and Saini B. S. (2018). The baseline wandering noise removal from ECG signal using forward–backward Riemann Liouville fractional integral-based empirical wavelet transform approach. International Journal of Wavelets, Multiresolution and Information Processing, Vol. 16, No. 06, 1850049. doi:10.1142/S0219691318500492.

Ramkumar, M., Ganesh Babu, C., Manjunathan, A., Udhayanan, S., Mathankumar, M., and Sarath Kumar, R. (2021). A Graphical User Interface Based Heart Rate Monitoring Process and Detection of PQRST Peaks from ECG Signal. In: Smys, S., Balas, V.E., Kamel, K.A., Lafata, P. (eds) Inventive Computation and Information Technologies. Lecture Notes in Networks and Systems, Vol 173. Springer, Singapore. DOI:10.1007/978-981-33-4305-4_36.

Jolliffe I. (2022). A 50-year personal journey through time with principal component analysis. Journal of Multivariate Analysis, Vol. 188, 104820. doi:10.1016/j.jmva.2021.104820.

Sklearn.Manifold.TSNE. scikit-learn. [Online].

Kobak D. and Berens P. (2019). The art of using t-SNE for single-cell transcriptomics. Nature Communications, Vol. 10, Article number: 5416. DOI:10.1038/s41467-019-13056-x.

Machine learning. [Online].

Varoquaux G., Buitinck L., Louppe G., Grisel O., Pedregosa F., and Mueller A. (2015). Scikit-learn: Machine Learning Without Learning the Machinery. GetMobile: Mobile Computing and Communications, Vol. 19, Iss. 1, pp. 29–33. doi:10.1145/2786984.2786995.

Sarkar D., Bali R., and Sharma T. (2018). Practical Machine Learning with Python: A Problem-Solver’s Guide to Building Real-World Intelligent Systems. APress, 530 p. DOI: 10.1007/978-1-4842-3207-1.

Kerrigan G., Smyth P., and Steyvers M. (2021). Combining Human Predictions with Model Probabilities via Confusion Matrices and Calibration. Cornell University, arXiv:2109.14591 [cs.LG]. doi:10.48550/arXiv.2109.14591.

Wasnik A. (2020). K-Fold Cross-Validation in Python Using SKLearn. AskPython.

Palaniappan Y., Vishanth V. A., Santhosh N., Karthika R., and Ganesan M. (2020). R - Peak Detection using Altered Pan-Tompkins Algorithm. 2020 International Conference on Communication and Signal Processing (ICCSP), Chennai, India. DOI: 10.1109/ICCSP48568.2020.9182298.

Cho Y., et al. (2020). Artificial intelligence algorithm for detecting myocardial infarction using six-lead electrocardiography. Scientific Reports, Vol. 10, Article number: 20495. DOI:10.1038/s41598-020-77599-6.

Pueyo E., Sornmo L., and Laguna P. (2008). QRS Slopes for Detection and Characterization of Myocardial Ischemia. IEEE Transactions on Biomedical Engineering, Vol. 55, No. 2, pp. 468–477. DOI: 10.1109/TBME.2007.902228.

Fernandes L. Explanation of the coefficient of variance PCA. OpenClassrooms.

Forward-Backward Filtering. Introduction to Digital Filters with Audio Applications, by Julius O. Smith III. (2007). Center for Computer Research in Music and Acoustics (CCRMA), Stanford University.

Burns E. and Cadogan M. (2022). Myocardial Ischaemia. Life in the FastLane.

Akin M. (2002). Comparison of Wavelet Transform and FFT Methods in the Analysis of EEG Signals. Journal of Medical Systems, Vol. 26, Iss. 3, pp. 241–247. DOI:10.1023/A:1015075101937.




How to Cite

Mnevets, . A. V., Ivanushkina, N. G. and Ivanko K. О. (2022) “Myocardial Ischemia Detection Using a Reduced Number of ECG Leads ”, Visnyk NTUU KPI Seriia - Radiotekhnika Radioaparatobuduvannia, (89), pp. 39-47. doi: 10.20535/RADAP.2022.89.39-47.



Radioelectronics Medical Technologies