IMPLEMENTASI ALGORITMA K-NEAREST NEIGHBOR (KNN) UNTUK PREDIKSI KESIAPAN PANEN PADI BERBASIS MOBILE
Accuracy in determining the harvest time of rice plants significantly affects both the quality and quantity of grain yield, as harvesting too early or too late can reduce production quality. Conventionally, farmers rely on manual visual observation, which tends to be subjective and dependent on the observer's experience. This study aims to implement the K-Nearest Neighbor (KNN) algorithm into an Android-based mobile application to assist in predicting rice harvest readiness practically in the field. The system was developed using the Waterfall methodology with the Flutter framework and Dart programming language, utilizing SQLite for local prediction history storage. The research dataset consists of 50 samples of rice plant characteristics covering four input variables—plant age, percentage of yellowing grains, flag leaf condition, and physical grain condition—split into an 80:20 ratio for training and testing data across two classification labels: Ready to Harvest and Not Ready to Harvest. The classification stages include categorical encoding, Min-Max Scaling normalization, distance calculation using Euclidean Distance, and class determination via majority voting with a parameter of K = 3. Functional testing results using Black Box Testing indicate that all application features operate 100% as expected, while the KNN algorithm evaluation demonstrates its capability to classify test data accurately based on the proximity of rice plant characteristics.
Authors
- Khairuddin Nasution
- Darjat Saripurna
- Muhammad Rais
Publication Details
- Journal
- Jurnal Riset Multidisiplin Edukasi
- Published
- 2026-11-29
- DOI
- https://doi.org/10.71282/jurmie.v3i11.2777
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00