IMPLEMENTASI ALGORITMA K-NEAREST NEIGHBOR (KNN) UNTUK PREDIKSI KESIAPAN PANEN PADI BERBASIS MOBILE
DOI:
https://doi.org/10.71282/jurmie.v3i11.2777Keywords:
K-Nearest Neighbor (KNN), Rice Harvest Readiness, Euclidean Distance, Mobile Application, FlutterAbstract
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.
Downloads
References
Balai Besar Perpustakaan dan Literasi Pertanian. (2025). Ciri dan Penentuan Waktu Panen Padi yang Tepat. Kementerian Pertanian Republik Indonesia.
Bautista, R. C., Siebenmorgen, T. J., & Counce, P. A. (2023). The influence of nitrogen and variety on rice grain moisture content dry-down. Biosystems Engineering, 225, 112–124.
Direktorat Perlindungan Tanaman Pangan. (2023). Pedoman Pengendalian Organisme Pengganggu Tumbuhan (OPT) pada Tanaman Padi. Kementerian Pertanian Republik Indonesia.
Flutter. (2025). Flutter Documentation: Build Apps for Any Screen. Diakses dari https://docs.flutter.dev/.
Huang, Y., Chen, Z., Yu, T., Huang, X., & Gu, X. (2021). Estimation of paddy rice maturity using digital imaging. Biosystems Engineering, 204, 152–164.
Kanal Pengetahuan FTP UGM. (2017). Penentuan Waktu Panen Padi Berdasarkan Pengamatan Visual. Fakultas Teknologi Pertanian Universitas Gadjah Mada.
Maesa, A., Basri, M., & Sugianto. (2024). Klasifikasi fase pertumbuhan tanaman padi berbasis citra Google Earth menggunakan algoritma K-Nearest Neighbor (KNN). Jurnal Teknologi Pertanian, 15(2), 112–120.
O’Brien, J. A., & Marakas, G. M. (2010). Introduction to Information Systems (15th ed.). New York: McGraw-Hill/Irwin.
Pressman, R. S. (2015). Software Engineering: A Practitioner’s Approach (8th ed.).
New York: McGraw-Hill Education.
Pusat Pelatihan Pertanian, Badan Penyuluhan dan Pengembangan SDM Pertanian. (2025). Panduan Teknis Penentuan Waktu Panen dan Pascapanen Padi. Kementerian Pertanian Republik Indonesia.
Putra, R. A., Munibah, K., & Tjahjono, B. (2022). Klasifikasi fase pertumbuhan tanaman padi pada citra Sentinel-2 menggunakan algoritma K-Nearest Neighbor. Jurnal Ilmu Pertanian Indonesia, 27(3), 410–418.
Setiobudi, D., & Sembiring, H. (2009). Pengelolaan Air dan Produktivitas Tanaman Padi pada Kondisi Keterbatasan Air. Balai Besar Penelitian Tanaman Padi.
Sheng, R. T. C., Huang, Y. H., Chan, P. C., Bhat, S. A., Wu, Y. C., & Huang, N. F. (2022). Rice growth stage classification via RF-based machine learning and image processing. Agriculture, 12(12), 2137.
Sommerville, I. (2016). Software Engineering (10th ed.). Boston: Pearson Education.
Suprihanto, dkk. (2024). Penyakit Utama Tanaman Padi dan Strategi Pengendaliannya. Badan Standardisasi Instrumen Pertanian (BSIP).
Zhou, W., dkk. (2025). Effects of harvest timing on grain yield and rice quality across different varieties and environments. Field Crops Research, 321, 109684
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Muhammad Rais, Khairuddin Nasution, Darjat Saripurna (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.










