Analisis Performa Algoritma K-Nearest Neighbor dalam Klasifikasi Penyakit Tumor Otak

  • Komang Gede Bagus Devit Aditiya Udayana University
  • I Wayan Santiyasa Udayana University

Abstract

Brain tumor disease poses a significant health challenge globally, including in Indonesia. Detecting brain tumors early is crucial for effective treatment. In this study, we investigated the performance of the K-Nearest Neighbor (KNN) algorithm in classifying brain tumor disease using brain image data. Our findings reveal that the choice of K value significantly impacts the KNN algorithm's performance. The highest accuracy of 81% was achieved with K=3, while the lowest accuracy of 66% occurred at K=7. On average, across all scenarios, the accuracy was 72.8%. These results underscore the importance of selecting the appropriate K value for optimal classification accuracy in brain tumor disease using the KNN algorithm.


Keywords: Brain Tumor, Classifier, K-Nearest Neighbor, Grayscale, Accuracy


 
Published
2024-11-01
How to Cite
ADITIYA, Komang Gede Bagus Devit; SANTIYASA, I Wayan. Analisis Performa Algoritma K-Nearest Neighbor dalam Klasifikasi Penyakit Tumor Otak. Jurnal Nasional Teknologi Informasi dan Aplikasnya, [S.l.], v. 3, n. 1, p. 1039-1046, nov. 2024. ISSN 3032-1948. Available at: <https://ojs.unud.ac.id/index.php/jnatia/article/view/116032>. Date accessed: 09 jan. 2025. doi: https://doi.org/10.24843/JNATIA.2024.v03.i01.p18.