COMPARISON OF K-NEAREST NEIGHBOR ALGORITHM AND SUPPORT VECTOR MACHINE IN CLASSIFICATION ARRHYTHMIA IN ECG SIGNALS
Main Article Content
Heart disease is one of the biggest causes of death in Indonesia, one of which is arrhythmia, which is a heart rhythm disturbance or a pattern of rapid changes in normal heart rate. Early detection of arrhythmias is very important in reducing the risk of death. In this study, a machine learning approach was used to classify arrhythmias through ECG signal analysis using the K-Nearest Neighbor (K-NN) and Support Vector Machine (SVM) algorithms. The research results show that the K-NN algorithm managed to achieve an accuracy of 82.61%, while the SVM algorithm achieved an accuracy of 79.35%. This shows that the K-NN algorithm has better performance than SVM in the classification of arrhythmia diseases from ECG signals. With higher accuracy, K-NN can identify arrhythmias more precisely, which is very important in the context of early detection. Accurate early detection allows for quicker and more appropriate medical intervention, thereby reducing the risk of serious complications and death. Implementing a K-NN-based early arrhythmia detection system can be an effective solution to be implemented on a wider scale, such as in hospitals or clinics. With this technology, medical personnel can more quickly and accurately diagnose arrhythmias, so that treatment can be carried out earlier. This is very important considering the high death rate due to heart disease in Indonesia. Overall, this study makes an important contribution to the development of an effective early detection system for arrhythmias. By using the K-NN algorithm which has proven to be more accurate, it is hoped that this system can help reduce the death rate due to heart disease in Indonesia. Additionally, further research is needed to continue improving the accuracy and effectiveness of these systems, as well as to explore the potential use of other machine learning algorithms in the medical field.
D. H. Depari, Y. Widiastiwi, dan M. M. Santoni, “Perbandingan Model Decision Tree, Naive Bayes dan Random Forest untuk Prediksi Klasifikasi Penyakit Jantung,” Inform. J. Ilmu Komput., vol. 18, no. 3, hal. 239, 2022, doi: 10.52958/iftk.v18i3.4694.
B. Hirwono, A. Hermawan, dan D. Avianto, “Implementasi Metode Naïve Bayes untuk Klasifikasi Penderita Penyakit Jantung,”
J. JTIK (Jurnal Teknol. Inf. dan Komunikasi), vol. 7, no. 3, hal. 450–457, 2023, doi: 10.35870/jtik.v7i3.910.
R. Firdaus, D. Mualfah, dan J. S. Hasanah, “Klasifikasi Multi-Class Penyakit Jantung Dengan SMOTE dan Pearson’s Correlation menggunakan MLP,” J. CoSciTech (Computer Sci. Inf. Technol., vol. 4, no. 1, hal. 262–271, 2023, doi: 10.37859/coscitech.v4i1.4769.
M. Fajar dan Z. Nugraha, “Deteksi Aritmia Menggunakan Algoritma Deep Neural Network ( Dnn ) Pada Sinyal Elektrokardiogram,” vol. 10, no. 5, hal. 4155–4158, 2023.
Y. J. Nurriski dan A. Alamsyah, “Optimasi Deep Convolutional Neural Network (Deep CNN) untuk Deteksi Aritmia Melalui Sinyal EKG Menggunakan Arsitektur Conv1D,” Indones. J. Math. Nat. Sci., vol. 46, no. 1, hal. 10–20, 2023, doi: 10.15294/ijmns.v46i1.46176.
T. Anbalagan, M. K. Nath, D. Vijayalakshmi, dan A. Anbalagan, “Analysis of various techniques for ECG signal in healthcare, past, present, and future,” Biomed. Eng. Adv., vol. 6, no. January, hal. 100089, 2023, doi: 10.1016/j.bea.2023.100089.
F. Primadevi dan Y. Mardiana, “Uji Kinerja Sistem Denoising Sinyal Jantung atau EKG dengan Menggunakan Algoritma Empirical Mode Decomposition (EMD),” J. Asiimetrik J. Ilm. Rekayasa Inov., vol. 5, hal. 27–34, 2023, doi: 10.35814/asiimetrik.v5i1.3682.
L. Saclova, A. Nemcova, R. Smisek, L. Smital, M. Vitek, dan M. Ronzhina, “Reliable P wave detection in pathological ECG signals,” Sci. Rep., vol. 12, no. 1, hal. 1–14, 2022, doi: 10.1038/s41598-022-10656-4.