COMPARISON OF K-NEAREST NEIGHBOR AND SUPPORT VECTOR MACHINE ALGORITHM OPTIMIZATION WITH GRID SEARCH CV ON STROKE PREDICTION
Open Access
- 24 July 2024
- journal article
- Published by Infinite Corporation in Jurnal Teknik Informatika (Jutif)
- Vol. 5 (4) , 991-1000
Abstract
Stroke ranks second as the leading cause of death globally, with disability being the primary accompanying factor. The cause of death in stroke patients is due to the lack of an optimal stroke prediction system; therefore, identifying whether a patient is experiencing a stroke or not becomes the focus of this research. Thus, the objective of this study is to compare the performance of stroke prediction using two classification models, namely K-Nearest Neighbors (KNN) and Support Vector Machine (SVM), with and without using the GridSearchCV optimization technique. In this experiment, the dataset is processed and divided into training and testing data using the SMOTE oversampling technique. Initial testing is conducted without GridSearchCV. The results of the initial testing show that the KNN model performs better than SVM, with accuracies of 91% and 83%, respectively. After optimizing parameters using GridSearchCV, both models experience a significant performance improvement. The KNN model increases accuracy to 95% with precision of 91% and recall of 98%, while the SVM model increases accuracy to 94% with precision of 90% and recall of 99%. These results indicate that using GridSearchCV to optimize parameters of KNN and SVM models can significantly enhance stroke prediction performance. There are differences in precision and recall between KNN and SVM. The KNN model tends to have higher recall, while the SVM model has higher precision, and for accuracy, the KNN algorithm outperforms SVM in stroke prediction.Keywords
This publication has 21 references indexed in Scilit:
- Low visibility event prediction using random forest and K-nearest neighbor methodsTheoretical and Applied Climatology, 2023
- Otoritas Guru Dalam Prestasi Belajar Siswa Menggunakan Fuzzy MamdaniJURNAL MEDIA INFORMATIKA BUDIDARMA, 2023
- Optimization of phase prediction for brain-state dependent stimulation: a grid-search approachJournal of Neural Engineering, 2023
- Klasifikasi Aktivitas Manusia Menggunakan Algoritme Computed Input Weight Extreme Learning Machine dengan Reduksi Dimensi Principal Component AnalysisJurnal Teknologi Informasi dan Ilmu Komputer, 2022
- Efficient Medical Diagnosis of Human Heart Diseases Using Machine Learning Techniques With and Without GridSearchCVIEEE Access, 2022
- IMPLEMENTASI ORANGE DATA MINING UNTUK KLASIFIKASI KELULUSAN MAHASISWA DENGAN MODEL K-NEAREST NEIGHBOR, DECISION TREE SERTA NAIVE BAYESNetwork Engineering Research Operation, 2021
- Perbandingan Akurasi, Recall, dan Presisi Klasifikasi pada Algoritma C4.5, Random Forest, SVM dan Naive BayesJURNAL MEDIA INFORMATIKA BUDIDARMA, 2021
- An optimized K-Nearest Neighbor based breast cancer detectionJournal of Robotics and Control (JRC), 2021
- PENERAPAN METODE ADABOOST UNTUK MENGOPTIMASI PREDIKSI PENYAKIT STROKE DENGAN ALGORITMA NAÏVE BAYESJurnal Sisfokom (Sistem Informasi dan Komputer), 2020
- International Journal of Scientific Research in Computer Science, Engineering and Information TechnologyInternational Journal of Scientific Research in Computer Science, Engineering and Information Technology, 2017