Sesilia Barek Tukan
Institut Keguruan dan Teknologi Larantuka

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Optimalisasi Parameter K Dalam Algoritma K-Nearest Neighbor Untuk Klasifikasi Kematangan Buah Pinang Berdasarkan Fitur Tekstur Dan Warna Sesilia Barek Tukan; Alfian Nara Weking; Dominikus Boli Watomakin
Jurnal Teknik Mesin, Elektro dan Ilmu Komputer Vol. 5 No. 2 (2025): Juli : Jurnal Teknik Mesin, Elektro dan Ilmu Komputer
Publisher : Lembaga Pengembangan Kinerja Dosen

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.55606/teknik.v5i2.7405

Abstract

Manual determination of betel nut ripeness often takes a long time and depends on the subjectivity of the observer, so the results are inconsistent. This study aims to improve the accuracy of betel nut ripeness classification by optimizing the K parameter in the K-Nearest Neighbor (KNN) algorithm. The research process begins with the collection of 200 betel nut images that go through a preprocessing stage in the form of resizing, segmentation, and normalization. Furthermore, color feature extraction is carried out from the RGB and HSV models and texture features using the Gray-Level Co-occurrence Matrix (GLCM) method. The dataset is divided into training data and test data, then the K value is tested between 1 and 20 using the cross-validation technique. The test results show that the K value = 3 provides the highest accuracy of 85% with fairly balanced predictions in the raw, ripe, and old categories. These findings prove that selecting the appropriate K value can improve classification performance, while opening up opportunities for the application of an automated system to help farmers and industry players in determining the ripeness of betel nuts more quickly, accurately, and consistently.