Machine Learning and Deep Learning-Based Myocardial Infarction Detection and Heart Activity Analysis Using ECG Signals

International Journal of Emerging Research in Science, Engineering, and Management
Vol. 2, Issue 3, pp. 103-109, March 2026.

https://doi.org/10.58482/ijersem.v2i3.13

Machine Learning and Deep Learning-Based Myocardial Infarction Detection and Heart Activity Analysis Using ECG Signals

R.D. Indu Priya

E. Sasikala

Department of ECE, Gokula Krishna College of Engineering, Sullurpet, India.

Abstract: Myocardial Infarction (MI) remains one of the leading causes of mortality worldwide, necessitating accurate and timely diagnosis to reduce fatal outcomes. Electrocardiogram (ECG) signals serve as a primary non-invasive diagnostic tool for detecting cardiac abnormalities; however, manual interpretation is time-consuming and prone to human error. This paper presents an intelligent framework for automated myocardial infarction detection and heart activity analysis using machine learning (ML) and deep learning (DL) techniques. The proposed system integrates ECG signal acquisition, preprocessing, feature extraction, and classification into a unified pipeline. Noise and artifacts such as baseline wander and power-line interference are removed using digital filtering techniques. Key features, including R–R intervals, QRS complex duration, and morphological characteristics, are extracted to represent cardiac activity effectively. Multiple ML algorithms, including Support Vector Machine (SVM), Random Forest (RF), and K-Nearest Neighbors (KNN), are employed and compared with deep learning models such as Convolutional Neural Networks (CNN) and hybrid CNN-LSTM architectures. Experimental results demonstrate that the proposed approach achieves high accuracy, sensitivity, and specificity in distinguishing normal and MI-affected ECG signals. The integration of deep learning enhances the system’s ability to capture complex temporal and morphological patterns, improving diagnostic performance. The developed system is computationally efficient and suitable for real-time applications in telemedicine, wearable health monitoring systems, and remote cardiac diagnosis. This work highlights the potential of combining signal processing with intelligent algorithms to provide reliable, scalable, and automated cardiac health assessment.

Keywords: Myocardial Infarction, Electrocardiogram, LSTM, Heart Activity Analysis, Healthcare IoT.

References: 

  1. S. Eltrass, N. A. Elborae, and H. M. Elkamchouchi, “Deep learning-based myocardial infarction detection and localization via multi-lead ECG and constant-Q nonstationary gabor transform,” Biomedical Signal Processing and Control, vol. 116, p. 109541, Jan. 2026, doi: 10.1016/j.bspc.2026.109541.
  2. P. Xiong, S. M.-Y. Lee, and G. Chan, “Deep Learning for Detecting and Locating Myocardial Infarction by Electrocardiogram: A Literature review,” Frontiers in Cardiovascular Medicine, vol. 9, p. 860032, Mar. 2022, doi: 10.3389/fcvm.2022.860032.
  3. H. M. Khater and A. Suliman, “Deep Learning-Based ECG Analysis for Myocardial Infarction Detection,” 2023 15th International Conference on Innovations in Information Technology (IIT), Al Ain, United Arab Emirates, 2023, pp. 61-66, doi: 10.1109/IIT59782.2023.10366419.
  4. Y. Fang, Y. Wu, and L. Gao, “Machine learning-based myocardial infarction bibliometric analysis,” Frontiers in Medicine, vol. 12, p. 1477351, Feb. 2025, doi: 10.3389/fmed.2025.1477351.
  5. J. O. Gutierrez-Garcia, E. Roman-Rangel, and J. M. Rendón-Mancha, “Deep Learning for myocardial infarction detection using Electrocardiogram Images: A Systematic review,” Mathematics, vol. 14, no. 4, p. 613, Feb. 2026, doi: 10.3390/math14040613.
  6. E. Radwa, H. Ridha, and B. Faycal, “Deep learning-based approaches for myocardial infarction detection: A comprehensive review recent advances and emerging challenges,” Medicine in Novel Technology and Devices, vol. 23, p. 100322, Jul. 2024, doi: 10.1016/j.medntd.2024.100322.
  7. S. V, G. N. Chandrika, A. Mitra, R. Chowdhury, P. Kumar, and G. E, “Deep Learning based classification of ECG signals using RNN and LSTM Mechanism,” jeeemi.org, Oct. 2024, doi: 10.35882/jeeemi.v6i4.496.
  8. Y. Cho et al., “Artificial intelligence algorithm for detecting myocardial infarction using six-lead electrocardiography,” Scientific Reports, vol. 10, no. 1, p. 20495, Nov. 2020, doi: 10.1038/s41598-020-77599-6.
  9. S. S. Al-Zaiti et al., “Machine learning for ECG diagnosis and risk stratification of occlusion myocardial infarction,” Nature Medicine, vol. 29, no. 7, pp. 1804–1813, Jun. 2023, doi: 10.1038/s41591-023-02396-3.
  10. P. Pachiyannan, M. Alsulami, D. Alsadie, A. K. J. Saudagar, M. AlKhathami, and R. C. Poonia, “A novel Machine Learning-Based prediction method for early detection and diagnosis of congenital heart disease using ECG signal processing,” Technologies, vol. 12, no. 1, p. 4, Jan. 2024, doi: 10.3390/technologies12010004.
  11. Y. Ansari, O. Mourad, K. Qaraqe, and E. Serpedin, “Deep learning for ECG Arrhythmia detection and classification: an overview of progress for period 2017–2023,” Frontiers in Physiology, vol. 14, p. 1246746, Sep. 2023, doi: 10.3389/fphys.2023.1246746.
  12. A. J. Prakash, A. N. Belkacem, I. M. Elfadel, H. F. Jelinek, and M. Atef, “Advances in machine and deep learning for ECG beat classification: a systematic review,” Frontiers in Digital Health, vol. 7, p. 1649923, Nov. 2025, doi: 10.3389/fdgth.2025.1649923.