Abstract
Cardiac arrhythmia (CA) is an irregular rhythm that can cause an increase or decrease in heart rate. Electrocardiogram (ECG) is a noninvasive diagnostic technique widely used to identify CAs. The cardiologist analyzes these ECG signals for the accurate diagnosis and treatment of CA. However, diagnosing minute changes with the naked eye for longer ECG recordings is difficult and takes much time for the cardiologist to conclude the disease type. Therefore, developing an automated diagnostic tool for classifying CA from ECG recordings is essential. In this work, we propose a novel technique for effectively diagnosing CAs from the ECG signal. The proposed method optimizes the hyper-parameters of the tunable Q wavelet transform (TQWT) and random subspace of the stacked ensemble classifier using an enhanced Jaya optimization algorithm (EJOA) for CA classification. This optimized parameter of TQWT extracts features from ECG signals by decomposing them into high- and low-pass sub-band signals. Then, the low-dimensional features are extracted from the sub-band signal coefficients by applying principal component analysis (PCA). Finally, the optimized random subspace stacked ensemble classifier is trained with the optimal random subspace features of the principal components for subsequent classification of CAs. The trained random subspace stacked ensemble classifier was independently tested with inter-patient testing beats of the MIT-BIH arrhythmia and St Petersburg INCART 12-lead arrhythmia databases to diagnose different CA classes. The proposed method achieved an average accuracy of 98.30% and a sensitivity of 93.42% for the MIT-BIH database, an average accuracy of 96.60%, and a sensitivity of 80.2% for the INCART database. These performance measures demonstrate the proposed classifier’s efficacy and are better than those reported in the existing literature.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Availability of data and materials
Code Availability
The source codes of this algorithm can be found in: https://github.com/kiruthika1989/Cardiac-arrhythmia-classification.
References
Acharya UR, Oh SL, Hagiwara Y, Tan JH, Adam M, Gertych A, San Tan R (2017) A deep convolutional neural network model to classify heartbeats. Comput Biol Med 89:389–396
Acharya UR, Fujita H, Lih OS, Hagiwara Y, Tan JH, Adam M (2017) Automated detection of arrhythmias using different intervals of tachycardia ECG segments with a convolutional neural network. Inform Sci 405:81–90
Acharya UR, Oh SL, Hagiwara Y, Tan JH, Adam M, Gertych A, Tan RS (2017) A deep convolutional neural network model to classify heartbeats. Comput Biol Med 89:389–396. https://doi.org/10.1016/j.compbiomed.2017.08.022
Almustafa KM (2021) Prediction of chronic kidney disease using different classification algorithms. Informat Med Unlocked 24:100631. https://doi.org/10.1016/j.imu.2021.100631
Ashour AS, Eissa MM, Wahba MA, Elsawy RA, Elgnainy HF, Tolba MS, Mohamed WS (2021) Ensemble-based bag of features for automated classification of normal and COVID-19 CXR images. Biomed Signal Process Control 68:102656. https://doi.org/10.1016/j.bspc.2021.102656
Bajaj V, Taran S, Khare SK, Sengur A (2020) Feature extraction method for classification of alertness and drowsiness states EEG signals. Appl Acoust 163:107224. https://doi.org/10.1016/j.apacoust.2020.107224
Banerjee S, Mitra M (2014) Application of cross wavelet transform for ECG pattern analysis and classification. IEEE Trans Instrum Meas 63(2):326–333
Bhattacharyya A, Pachori RB, Upadhyay A, Acharya UR (2017) Tunable-Q wavelet transform based multiscale entropy measure for automated classification of epileptic EEG signals. Appl Sci 7:1–18. https://doi.org/10.3390/app7040385
Bhattacharyya A, Pachori RB, Acharya UR (2017) Tunable-Q wavelet transform based multivariate sub-band fuzzy entropy with application to focal EEG signal analysis. Entropy 19:1–14. https://doi.org/10.3390/e19030099
Bhattacharyya S, Majumder S, Debnath P, Chanda M (2021) Arrhythmic heartbeat classification using ensemble of random forest and support vector machine algorithm. IEEE Trans Artif Intell 2:260–268. https://doi.org/10.1109/tai.2021.3083689
Chen SS, Hua W, Li Z, Li J, Gao XJ (2017) Heartbeat classification using projected and dynamic features of ECG signal. Biomed Signal Process Control 31:165–173
Daamouche A, Hamami L, Alajlan N, Melgani F (2012) A wavelet optimization approach for ECG signal classification. Biomed Signal Process Control 7:342–349. https://doi.org/10.1016/j.bspc.2011.07.001
De Chazal P, Reilly RB (2006) A patient-adapting heartbeat classifier using ECG morphology and heartbeat interval features. IEEE Trans Biomed Eng 53(12):2535–2543
de Chazal P, O’Dwyer M, Reilly RB (2004) Automatic classification of heartbeats using ECG morphology and heartbeat interval features. IEEE Trans Biomed Eng 51(7):1196–1206. https://doi.org/10.1109/TBME.2004.827359
De Falco I, De Pietro G, Della Cioppa A, Sannino G, Scafuri U, Tarantino E (2019) Evolution-based configuration optimization of a deep neural network for the classification of obstructive sleep apnea episodes. Futur Gener Comput Syst 98:377–391. https://doi.org/10.1016/j.future.2019.01.049
Dias FM, Monteiro HLM, Cabral TW, Naji R, Kuehni M, da Luz EJS (2021) Arrhythmia classification from single-lead ECG signals using the inter-patient paradigm. Comput Methods Programs Biomed 202:105948. https://doi.org/10.1016/j.cmpb.2021.105948
Elhaj FA, Salim N, Harris AR, Swee TT, Ahmed T (2016) Arrhythmia recognition and classification using combined linear and non-linear features of ECG signals. Comput Methods Programs Biomed 127:52–63
Fatimah B, Singh P, Singhal A, Pachori RB (2020) Detection of apnea events from ECG segments using Fourier decomposition method. Biomed Signal Process Control 61:102005. https://doi.org/10.1016/j.bspc.2020.102005
Goldberger A, Amaral L, Glass L, Hausdorff J, Ivanov, PC, Mark R, Stanley HE (2000) PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation 101(23):e215–e220
Guler I, Ubeyli ED (2005) ECG beat classifier designed by combined neural network model. Pattern Recogn 38:199–208. https://doi.org/10.1016/j.patcog.2004.06.009
Jha CK, Kolekar MH (2020) Cardiac arrhythmia classification using tunable Q-wavelet transform-based features and support vector machine classifier. Biomed Signal Process Control 59:101875. https://doi.org/10.1016/j.bspc.2020.101875
Kaur A, Kumar S, Agarwal R, Agarwal A (2022) Intra and inter-patient arrhythmia classification using feature fusion with novel feature set based on fractional-order and Fibonacci series. Biomed Signal Process Control. https://doi.org/10.1016/j.bspc.2021.103365
Khare SK, Bajaj V (2020) Optimized tunable Q wavelet transform based drowsiness detection from electroencephalogram signals. Irbm 1:1–9. https://doi.org/10.1016/j.irbm.2020.07.005
Khare SK, Bajaj V, Acharya UR (2021) Detection of Parkinson’s disease using automated tunable Q wavelet transform technique with EEG signals. Biocybern Biomed Eng 41:679–689. https://doi.org/10.1016/j.bbe.2021.04.008
Li T, Zhou M (2016) ECG classification using wavelet packet entropy and random forests. Entropy 18:1–16. https://doi.org/10.3390/e18080285
Li Q, Rajagopalan C, Clifford GD (2014) A machine learning approach to multi-level ECG signal quality classification. Comput Methods Programs Biomed 117(3):435–447
Li H, Liang H, Miao C, Cao L, Feng X, Tang C, Li E (2016) Novel ECG signal classification based on KICA non-linear feature extraction. Circuits Syst Signal Process 35(4):1187–1197
Li Y, Qian R, Li K (2022) Inter-patient arrhythmia classification with improved deep residual convolutional neural network. Comput Methods Programs Biomed. https://doi.org/10.1016/j.cmpb.2021.106582
Luz EJDS, Nunes TM, De Albuquerque VHC, Papa JP, Menotti D (2012) ECG arrhythmia classification based on optimum-path forest. Expert Syst Appl 40(9):3561–3573
Marinho LB, de Nascimento NMM, Souza JWM, Gurgel MV, Rebouças Filho PP (2019) VHC de Albuquerque, A novel electrocardiogram feature extraction approach for cardiac arrhythmia classification. Futur Gener Comput Syst 97:564–577. https://doi.org/10.1016/j.future.2019.03.025
Martis RJ, Acharya UR, Mandana K, Ray AK, Chakraborty C (2013) Cardiac decision making using higher-order spectra. Biomed Signal Process Control 8(2):193–203
Martis RJ, Acharya UR, Min LC (2013) ECG beat classification using PCA, LDA, ICA and discrete wavelet transform. Biomed Signal Process Control 8:437–448. https://doi.org/10.1016/j.bspc.2013.01.005
Mathews SM, Kambhamettu C, Barner KE (2018) A novel application of deep learning for single-lead ECG classification. Comput Biol Med 99:53–62
Melgani F, Bazi Y (2008) classification of electrocardiogram signals with support vector machines and particle swarm optimization. IEEE Trans Inf Technol Biomed 12(5):667–677
Moody GB, Mark RG, Goldberger AL (2001) PhysioNet: a web-based resource for the study of physiologic signals. IEEE Eng Med Biol Mag 20(3):70–75
Mondéjar-Guerra V, Novo J, Rouco J, Penedo MG, Ortega M (2019) Heartbeat classification fusing temporal and morphological information of ECGs via ensemble of classifiers. Biomed Signal Process Control 47:41–48. https://doi.org/10.1016/j.bspc.2018.08.007
Murat F, Yildirim O, Talo M, Baloglu UB, Demir Y, Acharya UR (2020) Application of deep learning techniques for heartbeats detection using ECG signals-analysis and review. Comput Biol Med 120:1. https://doi.org/10.1016/j.compbiomed.2020.103726
Nishad A, Upadhyay A, Pachori RB, Acharya UR (2019) Automated classification of hand movements using tunable-Q wavelet transform based filter-bank with surface electromyogram signals. Futur Gener Comput Syst 93:96–110. https://doi.org/10.1016/j.future.2018.10.005
Pachori RB, Nishad A (2016) Cross-terms reduction in the Wigner–Ville distribution using tunable-Q wavelet transform. Signal Process 120:288–304. https://doi.org/10.1016/j.sigpro.2015.07.026
Park J, Kang K (2014) PcHD: personalized classification of heartbeat types using a decision tree. Comput Biol Med 54:79–88. https://doi.org/10.1016/j.compbiomed.2014.08.013
Patidar S, Pachori RB (2013) Segmentation of cardiac sound signals by removing murmurs using constrained tunable-Q wavelet transform. Biomed Signal Process Control 8:559–567. https://doi.org/10.1016/j.bspc.2013.05.004
Patidar S, Pachori RB (2014) Classification of cardiac sound signals using constrained tunable-Q wavelet transform. Expert Syst Appl 41:7161–7170. https://doi.org/10.1016/j.eswa.2014.05.052
Patidar S, Pachori RB, Garg N (2015a) Automatic diagnosis of septal defects based on tunable-Q wavelet transform of cardiac sound signals. Expert Syst Appl 42:3315–3326. https://doi.org/10.1016/j.eswa.2014.11.046
Patidar S, Pachori RB, Rajendra Acharya U (2015b) Automated diagnosis of coronary artery disease using tunable-Q wavelet transform applied on heart rate signals. Knowl-Based Syst 82:1–10. https://doi.org/10.1016/j.knosys.2015.02.011
Patidar S, Pachori RB, Upadhyay A, Rajendra Acharya U (2017) An integrated alcoholic index using tunable-Q wavelet transform based features extracted from EEG signals for diagnosis of alcoholism. Appl Soft Comput J 50:71–78. https://doi.org/10.1016/j.asoc.2016.11.002
Qin Q, Li J, Zhang L, Yue Y, Liu C (2017) Combining low-dimensional wavelet features and support vector machine for arrhythmia beat classification. Sci Rep 7:1–12. https://doi.org/10.1038/s41598-017-06596-z
Raj S, Ray KC (2017) ECG signal analysis using DCT-based DOST and PSO optimized SVM. IEEE Trans Instrum Meas 66:470–478. https://doi.org/10.1109/TIM.2016.2642758
Raj S, Chand GP, Ray KC (2015) Arm-based arrhythmia beat monitoring system. Microprocess Microsyst 39(7):504–511
Ramasamy K, Balakrishnan K, Velusamy D (2022) Detection of cardiac arrhythmias from ECG signals using FBSE and Jaya optimized ensemble random subspace K-nearest neighbor algorithm. Biomed Signal Process Control 76:103654. https://doi.org/10.1016/j.bspc.2022.103654
Ramirez E, Melin P, Prado-Arechiga G (2019) Hybrid model based on neural networks, type-1 and type-2 fuzzy systems for 2-lead cardiac arrhythmia classification. Expert Syst Appl 126:295–307. https://doi.org/10.1016/j.eswa.2019.02.035
Sahoo S, Kanungo B, Behera S, Sabut S (2017) Multiresolution wavelet transform based feature extraction and ECG classification to detect cardiac abnormalities. Measurement 108:55–66
Sannino G, De Pietro G (2018) A deep learning approach for ECG-based heartbeat classification for arrhythmia detection. Futur Gener Comput Syst 86:446–455. https://doi.org/10.1016/j.future.2018.03.057
Selesnick IW (2011) Wavelet transform with tunable Q-factor. IEEE Trans Signal Process 59:3560–3575. https://doi.org/10.1109/TSP.2011.2143711
Shanmugam JV, Duraisamy B, Simon BC, Bhaskaran P (2022) Alzheimer’s disease classification using pre-trained deep networks. Biomed Signal Process Control 71:103217. https://doi.org/10.1016/j.bspc.2021.103217
Sharma M, Pachori RB (2017) A novel approach to detect epileptic seizures using a combination of tunable-Q wavelet transform and fractal dimension. J Mech Med Biol 17:1–20. https://doi.org/10.1142/S0219519417400036
Sharma R, Kumar M, Pachori RB, Acharya UR (2017) Decision support system for focal EEG signals using tunable-Q wavelet transform. J Comput Sci 20:52–60. https://doi.org/10.1016/j.jocs.2017.03.022
Sharma M, Tan RS, Acharya UR (2019) Automated heartbeat classification and detection of arrhythmia using optimal orthogonal wavelet filters. Informat Med Unlocked 16:100221. https://doi.org/10.1016/j.imu.2019.100221
Shi Haotian, Wang Haoren, Huang Yixiang, Zhao Liqun, Qin Chengjin, Liu Chengliang (2019) A hierarchical method based on weighted extreme gradient boosting in ECG heartbeat classification. Comput Methods Programs Biomed 171:1–10. https://doi.org/10.1016/j.cmpb.2019.02.005
Shi H, Wang H, Zhang F, Huang Y, Zhao L, Liu C (2019) Inter-patient heartbeat classification based on region feature extraction and ensemble classifier. Biomed Signal Process Control 51:97–105. https://doi.org/10.1016/j.bspc.2019.02.012
Sinha N, Das A (2020) Automatic diagnosis of cardiac arrhythmias based on three stage feature fusion and classification model using DWT. Biomed Signal Process Control 62:102066. https://doi.org/10.1016/j.bspc.2020.102066
Thakur S, Kumar A (2021) X-ray and CT-scan-based automated detection and classification of COVID-19 using convolutional neural networks (CNN). Biomed Signal Process Control 69:102920. https://doi.org/10.1016/j.bspc.2021.102920
Tuncer T, Dogan S, Pławiak P, Acharya UR (2019) Automated arrhythmia detection using novel hexadecimal local pattern and multi-level Wavelet transform with ECG signals. Knowl-Based Syst. https://doi.org/10.1016/j.knosys.2019.104923
Velusamy D, Ramasamy K (2021) Ensemble of heterogeneous classifiers for diagnosis and prediction of coronary artery disease with reduced feature subset. Comput Methods Programs Biomed 198:105770. https://doi.org/10.1016/j.cmpb.2020.105770
Wang G, Zhang C, Liu Y, Yang H, Fu D, Wang H, Zhang P (2018) A global and updatable ECG beat classification system based on recurrent neural networks and active learning. Inform Sci
World Health Organization (2019) cardiovascular diseases (CVDs). [Online]. https://www.who.int/news-room/fact-sheets/detail/cardiovascular-diseases-(cvds)
Xiao Y, Wu J, Lin Z (2021) Cancer diagnosis using generative adversarial networks based on deep learning from imbalanced data. Comput Biol Med 135:104540. https://doi.org/10.1016/j.compbiomed.2021.104540
Ye C, Kumar BV, Coimbra MT (2012) Heartbeat classification using morphological and dynamic features of ECG signals. IEEE Trans Biomed Eng 59(10):2930–2941
Yildirim O, Plawiak P, Tan RS, Acharya UR (2018) Arrhythmia detection using a deep convolutional neural network with long-duration ECG signals. Comput Biol Med 102:411–420
Zhang Z, Dong J, Luo X, Choi KS, Wu X (2014) Heartbeat classification using disease-specific feature selection. Comput Biol Med 46(Suppl. C):79–89. https://doi.org/10.1016/j.compbiomed.2013.11.019
Zhang Yiying, Chi Aining, Mirjalili Seyedali (2021) Enhanced Jaya algorithm: a simple but efficient optimization method for constrained engineering design problems. Knowl-Based Syst 233:107555. https://doi.org/10.1016/j.knosys.2021.107555
Funding
There are no funding sources for this research.
Author information
Authors and Affiliations
Contributions
Kiruthika Balakrishnan contributed to conceptualization, data curation, formal analysis, methodology, investigation, writing—original draft, writing—review and editing, carried out additional analyses, validated the ideas, and provided software. Karthikeyan Ramasamy was involved in conceptualization, methodology, investigation, writing—review and editing, supervision, and validated the ideas. Durgadevi Velusamy contributed to formal analysis, investigation, writing—review and editing, and validated the ideas.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no conflict of interest.
Ethical approval
Our research used recorded real-time data from the MIT-BIH arrhythmia and INCART arrhythmia databases.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Ramasamy, K., Balakrishnan, K. & Velusamy, D. Classification of inter-patient’s cardiac arrhythmias in ECG signals with enhanced Jaya optimized TQWT parameters and stacked ensemble algorithm. Soft Comput 27, 11341–11356 (2023). https://doi.org/10.1007/s00500-023-08688-7
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00500-023-08688-7