Machine learning based cardiac care analysis using electro cardio graphs
Keywords:
ECG classification, machine learning, cardiovascular disease, real-time monitoring, dimensionality reductionAbstract
Accurate classification of electrocardiogram (ECG) signals is crucial for early detection and management of cardiovascular disorders. With the rise of wearable healthcare technology and increasing volumes of ECG data, the integration of advanced machine learning (ML) techniques has become essential. This study investigates the performance of various ML classifiers—SVC, Random Forest, XGBoost, and Linear SVC—for ECG classification using the PTB Diagnostic ECG Database. To improve predictive accuracy, metaheuristic optimization algorithms, including Enhanced AEO, LevyJA, JADE, and OriginalJA, were employed to fine-tune hyperparameters of the XGBoost model. Principal Component Analysis (PCA) was used for dimensionality reduction, and model performance was evaluated using accuracy, precision, recall, and F1-score. The results demonstrate that the hybrid XGBoost-JADE model achieved superior classification performance with an F1-score of 0.8742, surpassing baseline models and existing literature benchmarks. This work also addresses real-time applicability in resource-constrained environments by discussing strategies for computational efficiency. The findings highlight the potential of metaheuristically optimized machine learning frameworks in enhancing automated ECG interpretation systems.
Downloads
Metrics
References
Walsh P. Support vector machine learning for ECG classification. CEUR Workshop Proc 2019; 2348:195–204.
Qin H, Ding Y, Zhang X, Wang J, Liu X, Lu J. Diverse sample generation: pushing the limit of generative data-free quantization. IEEE Trans Pattern Anal Mach Intell 2023; 45:11689–706. https://doi.org/10.1109/TPAMI.2023.3272925.
Qin H, Ma X, Zheng X, Li X, Zhang Y, Liu S, et al. Accurate lora-finetuning quantization of llms via information retention. ArXiv Preprint ArXiv:240205445 2024.
Qin H, Zhang Y, Ding Y, Liu X, Danelljan M, Yu F. QuantSR: accurate low-bit quantization for efficient image super-resolution. Adv Neural Inf Process Syst 2024; 36.
Weimann K, Conrad TOF. Transfer learning for ECG classification. Sci Rep 2021;11: 5251. https://doi.org/10.1038/s41598-021-84374-8.
Houssein EH, Kilany M, Hassanien AE. ECG signals classification: a review. Int J Intelligent Eng Inf 2017; 5:376–96.
Qin H, Zhang X, Gong R, Ding Y, Xu Y, Liu X. Distribution-sensitive information retention for accurate binary neural network. Int J Comput vis 2023; 131:26–47. https://doi.org/10.1007/s11263-022-01687-5.
Pyakillya B, Kazachenko N, Mikhailovsky N. Deep learning for ECG classification. J Phys Conf Ser 2017; 913:12004. https://doi.org/10.1088/1742-6596/913/1/ 012004.
Ebrahimi Z, Loni M, Daneshtalab M, Gharehbaghi A. A review on deep learning methods for ECG arrhythmia classification. Expert Syst Appl: X 2020; 7:100033. https://doi.org/10.1016/j.eswax.2020.100033.
Kachuee M, Fazeli S, Sarrafzadeh M. Ecg heartbeat classification: A deep transferable representation. 2018 IEEE international conference on healthcare informatics (ICHI), IEEE; 2018, p. 443–4.
Stewart E, Kelly O. Comparison of linear and nonlinear features of electroencephalogram to classify alcoholic and non-alcoholic people. J Artificial Intelligence Syst Modelling 2024;01.
Mar T, Zaunseder S, Martínez JP, Llamedo M, Poll R. Optimization of ECG classification by means of feature selection. IEEE Trans Biomed Eng 2011;58: 2168–77.
Reddy Madhavi K, Mohd Nawi MN, Bhaskar Reddy B, Baboji K, Hari Kishore K, Manikanthan SV. Energy efficient target tracking in wireless sensor network using PF-SVM (particle filter-support vector machine) technique. Meas: Sens 2023;26. https://doi.org/10.1016/j.measen.2023.100667. 100667.
Maharani W, Atastina I. Personality classification of facebook users according to big five personality classification of facebook users according to big five personality using SVM (support vector machine) method personality using SVM (support vector machine) me. Procedia Comput Sci 2021; 179:177–84.
James G, Witten D, Hastie T, Tibshirani R. An introduction to statistical learning (Vol. 112) 2013.
Harris JR, Grunsky EC. Predictive lithological mapping of Canada’s North using Random Forest classification applied to geophysical and geochemical data. Comput Geosci 2015; 80:9–25.
Khajavi H, Rastgoo A. Predicting the carbon dioxide emission caused by road transport using a Random Forest (RF) model combined by Meta-Heuristic Algorithms. Sustain Cities Soc 2023; 93:104503. https://doi.org/10.1016/j. scs.2023.104503.
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.