EUVIMEDEUVIMED entdecken
Crossref

Application of the K-Nearest Neighbor (K-NN) Algorithm for Disease Classification Based on Eye Images

St. Nadira Zalzabila Zalzabila, Sudarmin, Zulkifli Rais

VARIANSI: Journal of Statistics and Its application on Teaching and Research · 30.09.2026 · 8 (02) · 269-279

DOI: 10.35580/variansiunm621 ↗

Kurz gefasst

Fachartikel in der Zeitschrift VARIANSI: Journal of Statistics and Its application on Teaching and Research, online erschienen am 30.09.2026. Verfasst von St. Nadira Zalzabila Zalzabila und 2 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Eye diseases are one of the health issues that can lead to a decline in visual acuity if not detected and treated at an early stage. With advances in digital image processing and machine learning technologies, eye images can be utilised as a source of information to support the automated classification of eye diseases. This study aims to apply the K-Nearest Neighbour (K-NN) algorithm to classify eye diseases based on eye images. The dataset used in this study consists of 4,217 eye images categorised into four classes: cataract, glaucoma, diabetic retinopathy, and normal. The research stages included image pre-processing, comprising conversion to greyscale images, normalisation, segmentation, and resizing. Next, texture features were extracted using the Gray Level Co-occurrence Matrix (GLCM) method to obtain features representing the characteristics of the eye images. The data were then split into training and test sets in an 80:20 ratio before classification was carried out using the K-NN algorithm. The evaluation results show that the K-NN algorithm with K = 7 achieved an accuracy rate of 81 per cent, indicating that the model is able to classify the majority of eye images accurately.

Zitieren

APA

Zalzabila, S. N. Z., Sudarmin, & Rais, Z. (2026). Application of the K-Nearest Neighbor (K-NN) Algorithm for Disease Classification Based on Eye Images. VARIANSI: Journal of Statistics and Its application on Teaching and Research, 8(02), 269-279. https://doi.org/10.35580/variansiunm621

Vancouver

Zalzabila SNZ, Sudarmin, Rais Z. Application of the K-Nearest Neighbor (K-NN) Algorithm for Disease Classification Based on Eye Images. VARIANSI: Journal of Statistics and Its application on Teaching and Research. 2026;8(02):269-279. doi:10.35580/variansiunm621

BibTeX
@article{Zalzabila2026,
  author = {Zalzabila, St. Nadira Zalzabila and Sudarmin and Rais, Zulkifli},
  title = {Application of the K-Nearest Neighbor (K-NN) Algorithm for Disease Classification Based on Eye Images},
  journal = {VARIANSI: Journal of Statistics and Its application on Teaching and Research},
  year = {2026},
  volume = {8},
  number = {02},
  pages = {269--279},
  doi = {10.35580/variansiunm621}
}
Kostenlos starten →