Optimasi Deteksi Aritmia Pada Sinyal Ekg Menggunakan Pendekatan Divergence Kullback-Leiber
Abstract
Aritmia jantung merupakan gangguan irama jantung yang berpotensi memicu kondisi kardiovaskular serius apabila tidak terdeteksi secara dini. Kompleksitas morfologi sinyal elektrokardiogram (EKG), dimensi data yang tinggi, dan ketidakseimbangan distribusi kelas pada dataset menjadi tantangan dalam pengembangan sistem deteksi berbasis kecerdasan buatan. Penelitian ini bertujuan mengembangkan sistem klasifikasi aritmia berbasis sinyal EKG dari MIT-BIH Arrhythmia Database dengan menggabungkan Discrete Wavelet Transform (DWT) dan Kullback–Leibler Divergence (KL Divergence) untuk ekstraksi fitur. Data diseimbangkan menggunakan random undersampling sebelum ekstraksi, dengan empat pendekatan distribusi pada KL Divergence, yaitu Uniform, Exponential, Gaussian, dan Combined. klasifikasi dilakukan menggunakan Support Vector Machine (SVM) dengan kernel RBF, serta dievaluasi menggunakan metrik akurasi, F1-score, ROC AUC, log loss, average precision (AP), efisiensi komputasi, dan Coefficient of Variation (CV). Hasil menunjukkan bahwa KL Combined memberikan performa terbaik dengan akurasi 0,8895, F1-score 0,9039, AUC 0,9406, dan log loss uji 0,3012. KL Combined dinilai optimal untuk implementasi klinis karena menggabungkan akurasi tinggi, kestabilan, dan efisiensi, menjadikannya pilihan unggulan dalam sistem deteksi aritmia yang konsisten dan andal.
Kata kunci: Aritmia jantung, Divergence Kullback-Leibler, Discrete Wavelet Transform, EKG, MIT-BIH, Support Vector Machine
References
L. A. Siagian, "Tatalaksana takikardia ventrikel," Cermin Dunia Kedokteran, vol. 45, no. 9, pp. 678–682, Sep. 2018. [Online]. Available: https://cdkjournal.com/index.php/CDK/article/view/723
Y. Yuniadi, "Mengatasi aritmia, mencegah kematian mendadak," eJournal Kedokteran Indonesia, vol. 5, no. 3, pp. 145–152, Dec. 2017. [Online]. Available: https://www.neliti.com/id/publications/227864/mengatasi-aritmia-mencegah-kematian-mendadak
S. Laksono, "Interpretasi EKG normal praktis bagi pemula suatu tinjauan mini," e-Journal UNIZAR, vol. 8, no. 2, pp. 123–135, Dec. 2021. [Online]. Available: https://ejournal.unizar.ac.id/index.php/kedokteran/article/view/408
M. Rifali and D. Irmawati, "Sistem cerdas deteksi sinyal elektrokardiogram (EKG) untuk klasifikasi jantung normal dan abnormal menggunakan jaringan syaraf tiruan (JST)," ELINVO, vol. 4, no. 1, pp. 52–60, May 2019, doi: https://doi.org/10.21831/elinvo.v4i1.28242
J. W. Chong, N. Esa, D. D. McManus, and K. H. Chon, "Arrhythmia discrimination using a smartphone," IEEE Journal of Biomedical and Health Informatics, vol. 19, no. 3, pp. 815–824, May 2015, doi: https://doi.org/10.1109/JBHI.2015.2418195
Y. Xia, H. Zhang, L. Xu, Z. Gao, H. Zhang, and H. Liu, "An automatic cardiac arrhythmia classification system with wearable electrocardiogram," IEEE Access, vol. 6, pp. 16529–16538, 2018, doi: https://doi.org/10.1109/ACCESS.2018.2807700
A. A. Ahmed, W. Ali, T. A. A. Abdullah, and S. J. Malebary, "Classifying cardiac arrhythmia from ECG signal using 1D CNN deep learning model," Mathematics, vol. 11, no. 3, p. 562, Jan. 2023, doi: https://doi.org/10.3390/math11030562
D. F. S. Losada, J. J. S. Gómez, and J. A. Z. Vela, "Classification of ECG signals using machine learning techniques," Academic Journal of Interdisciplinary Studies, vol. 13, no. 3, pp. 45–58, May 2024, doi: https://doi.org/10.36941/ajis-2024-0067
M. R. Fikri, I. Soesanti, and H. A. Nugroho, "ECG signal classification review," International Journal of Information Technology and Electrical Engineering, vol. 5, no. 1, pp. 1–8, Mar. 2021. [Online]. Available: https://jurnal.ugm.ac.id/ijitee/article/download/60295/31492
F. W. Rahayu, M. F. M. R. Faisal, D. T. D. T. Nugrahadi, Radityo, A. A. Nugroho, Muliadi, and S. Redjeki, "An electrocardiogram signal Preprocessing strategy in LSTM algorithm for biometric recognition," Indonesian Journal of Computing and Cybernetics Systems, vol. 18, no. 2, pp. 123–134, 2024, doi: https://doi.org/10.22146/ijccs.93895
N. Rastogi and R. Mehra, "Analysis of Butterworth and Chebyshev filters for ECG denoising using wavelets," IOSR Journal of Electronics and Communication Engineering, vol. 6, no. 6, pp. 37–44, 2013. [Online]. Available: https://www.iosrjournals.org/iosr-jece/papers/Vol6-Issue6/G0663744.pdf
J. Aspuru, A. O. Ochoa-Brust, R. A. Félix, W. Mata-López, L. J. M. Mena, R. Ostos, and R. Martínez-Peláez, "Segmentation of the ECG signal by means of a linear regression algorithm," Sensors, vol. 19, no. 4, p. 775, Feb. 2019, doi: https://doi.org/10.3390/s19040775
R. Rodríguez, A. Mexicano, J. Bilac, S. Cervantes, and R. Ponce, "Feature extraction of electrocardiogram signals by applying adaptive threshold and principal component analysis," Journal of Applied Research and Technology, vol. 13, no. 2, pp. 261–269, Apr. 2015, doi: https://doi.org/10.1016/j.jart.2015.06.008
D. Al-Shammary, M. Radhi, A. H. AlSaeedi, A. M. Mahdi, A. Ibaida, and A. Ahmed, "Classification based on the probabilistic Kullback–Leibler Divergence," Informatics in Medicine Unlocked, vol. 44, p. 101510, 2024, doi: https://doi.org/10.1016/j.imu.2024.101510
A. Clim, R. D. Zota, and G. Tinică, "The Kullback–Leibler Divergence used in machine learning algorithms for health care applications and hypertension prediction: A literature review," Procedia Computer Science, vol. 141, pp. 203–210, 2018, doi: https://doi.org/10.1016/j.procs.2018.10.144
O. M. Cliff, M. Prokopenko, and R. Fitch, "Minimising the Kullback–Leibler Divergence for model selection in distributed nonlinear systems," Entropy, vol. 20, no. 2, p. 51, Jan. 2018, doi: https://doi.org/10.3390/e20020051
Q. Ayuni, R. C. Wihandika, and N. Yudistira, "klasifikasi aritmia dari hasil elektrokardiogram menggunakan metode Support Vector Machine," Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 5, no. 5, pp. 2163–2170, May 2021. [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/8936
G. Moody and R. Mark, "MIT-BIH Arrhythmia database," PhysioNet, Feb. 24, 2005, doi: https://doi.org/10.13026/C2F305
GE HealthCare, "A guide to ECG signal filtering," GE HealthCare Medical Systems and Solutions, Aug. 2, 2023. [Online]. Available: https://www.gehealthcare.com/insights/article/a-guide-to-ecg-signal-filtering
E. Gustini, B. Rahmadya, and F. Akbar, "Sistem deteksi penderitaan aritmia berdasarkan jumlah detak jantung berbasis smartphone," Seminar Nasional Teknologi, pp. 1–8, 2017. [Online]. Available: https://jurnal.umj.ac.id/index.php/semnastek/article/view/1996
C. S. Kalangi, E. L. Jim, and V. F. F. Joseph, "Gambaran aritmia pada pasien penyakit jantung koroner di RSUP Prof. Dr. R. D. Kandou Manado periode 1 Januari 2015 – 31 Desember 2015," e-CliniC, vol. 4, no. 2, pp. 1–6, 2016. [Online]. Available: https://ejournal.unsrat.ac.id/index.php/eclinic/article/view/14556
A. L. Goldberger, L. A. N. Amaral, L. Glass, J. M. Hausdorff, P. Ch. Ivanov, R. G. Mark, J. E. Mietus, G. B. Moody, C.-K. Peng, and H. E. Stanley, "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals," Circulation, vol. 101, no. 23, pp. e215–e220, Jun. 2000, doi: https://doi.org/10.1161/01.CIR.101.23.e215
M. M. Al Rahhal, Y. Bazi, N. Alajlan, S. Malek, H. Al Hichri, F. Melgani, and M. A. Al Zuair, "Classification of AAMI heartbeat classes with an interactive ELM ensemble learning approach," Comput. Methods Programs Biomed., vol. 122, no. 2, pp. 258–269, May 2015, doi: https://doi.org/10.1016/j.bspc.2015.03.010
R. F. Hassan and S. A. Shaker, "ECG signal de-noising and feature extraction using discrete wavelet transform," Int. J. Eng. Trends Technol. (IJETT), vol. 63, no. 1, pp. 32–39, Sep. 2018, doi: https://doi.org/10.14445/22315381/ijett-v63p206
S. Dhyani, A. Kumar, and S. Choudhury, "Analysis of ECG-based arrhythmia detection system using machine learning," MethodsX, vol. 10, p. 102195, 2023, doi: https://doi.org/10.1016/j.mex.2023.102195
A. J. Chashmi and M. C. Amirani, "An efficient and automatic ECG arrhythmia diagnosis system using DWT and HOS features and entropy-based feature selection procedure," J. Electr. Bioimpedance, vol. 10, no. 1, pp. 47–54, 2019, doi: https://doi.org/10.2478/joeb-2019-0007
V. Bonnici, "A maximum value for the Kullback–Leibler Divergence between quantized distributions," Information, vol. 15, no. 9, p. 547, 2024, doi: https://doi.org/10.3390/info15090547
M. A. Talukder et al., "A hybrid cardiovascular arrhythmia disease detection using ConvNeXt-X models on electrocardiogram signals," Sci. Rep., vol. 14, p. 30366, 2024, doi: https://doi.org/10.1038/s41598-024-81992-w
T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed. Hoboken, NJ, USA: Wiley-Interscience, 2006, doi: https://doi.org/10.1002/047174882X
S. Kullback and R. A. Leibler, "On information and sufficiency," Ann. Math. Stat., vol. 22, no. 1, pp. 79–86, 1951, doi: https://doi.org/10.1214/aoms/1177729694
C. E. Shannon, "A mathematical theory of communication," Bell Syst. Tech. J., vol. 27, no. 3, pp. 379–423, 1948, doi: https://doi.org/10.1002/j.1538-7305.1948.tb01338.x
A. T. Khalaf et al., "Enhanced KL-divergence-based classification model for ECG arrhythmia detection," Sensors, vol. 24, no. 3, p. 876, 2024, doi: https://doi.org/10.3390/s24030876
S. Mallat, A Wavelet Tour of Signal Processing: The Sparse Way, 3rd ed. Boston, MA, USA: Academic Press, 2008, doi: https://doi.org/10.1016/B978-0-12-374370-1.X0001-8
A. Dhyani, M. Parmar, and A. Bansal, "ECG arrhythmia classification using wavelet features and SVM," Biomed. Signal Process. Control, vol. 85, p. 104966, 2023, doi: https://doi.org/10.1016/j.bspc.2022.104966
I. Guyon and A. Elisseeff, "An introduction to variable and feature selection," J. Mach. Learn. Res., vol. 3, pp. 1157–1182, 2003. [Online]. Available: http://www.jmlr.org/papers/volume3/guyon03a/guyon03a.pdf
G. Brown, A. Pocock, M. J. Zhao, and M. Luján, "Conditional likelihood maximisation: A unifying framework for information theoretic feature selection," J. Mach. Learn. Res., vol. 13, pp. 27–66, 2012. [Online]. Available: http://jmlr.csail.mit.edu/papers/volume13/brown12a/brown12a.pdf
V. N. Vapnik, The Nature of Statistical Learning Theory. New York, NY, USA: Springer-Verlag, 1995, doi: https://doi.org/10.1007/978-1-4757-2440-0
R. E. Bellman, Adaptive Control Processes: A Guided Tour. Princeton, NJ, USA: Princeton University Press, 1961, doi: https://doi.org/10.1515/9781400874668
A. Fisher, C. Rudin, and F. Dominici, "All models are wrong, but many are useful: Learning a variable’s importance by studying an entire class of prediction models simultaneously," J. Mach. Learn. Res., vol. 20, no. 177, pp. 1–81, 2019. [Online]. Available: http://jmlr.org/papers/v20/18-760.html
F. Liu et al., "A 12-lead electrocardiogram database for arrhythmia research covering more than 10,000 patients," PhysioNet, 2021, doi: https://doi.org/10.1038/s41597-020-0386-x
C. R. Harris et al., "Array programming with NumPy," Nature, vol. 585, no. 7825, pp. 357–362, Sep. 2020, doi: https://doi.org/10.1038/s41586-020-2649-2
P. Virtanen et al., "SciPy 1.0: Fundamental algorithms for scientific computing in Python," Nat. Methods, vol. 17, no. 3, pp. 261–272, Mar. 2020, doi: https://doi.org/10.1038/s41592-019-0686-2
D. Barber, Bayesian Reasoning and Machine Learning. Cambridge, U.K.: Cambridge Univ. Press, 2018, doi: https://doi.org/10.1017/CBO9780511804779
S. Shalev-Shwartz and S. Ben-David, Understanding Machine Learning: From Theory to Algorithms. Cambridge, U.K.: Cambridge Univ. Press, 2014, doi: https://doi.org/10.1017/CBO9781107298019
J. Dean and S. Ghemawat, "MapReduce: Simplified data processing on large clusters," Commun. ACM, vol. 51, no. 1, pp. 107–113, Jan. 2008, doi: https://doi.org/10.1145/1327452.1327492



