Expert System Based on K-Nearest Neighbor for Oil Palm Fertilizer Application Optimization
DOI:
https://doi.org/10.47709/cnahpc.v7i3.6092Keywords:
Expert Systems, K-Nearest Neighbor, Oil Palm Fertilizer, Classification, Precision Agriculture.Abstract
This study aims to develop an expert system utilizing the K-Nearest Neighbor (KNN) algorithm to recommend suitable fertilizers for oil palm plants based on soil conditions, climate, and plant age. A quantitative approach was employed, involving literature review, data collection, model development, and evaluation. Data were obtained from PT. Nusantara Plantation IV Torgamba Plantation, including variables such as soil pH, dolomite, NPK, urea application, and crop yields. The KNN model was optimized with a K-value of 6 and evaluated using metrics including accuracy (63.63%), precision, recall, F1-score, Mean Absolute Error (MAE: 1995.38), and Mean Squared Error (MSE: 5,257,254.73). The system demonstrates the ability to provide fertilizer recommendations by identifying similarities in historical data, though further accuracy improvements are possible. The practical implications of this research include assisting farmers in optimizing fertilizer selection, enhancing productivity, and minimizing environmental impact. Future studies could explore the integration of additional variables or alternative algorithms such as Decision Tree or Naive Bayes to improve performance.
Downloads
References
Agung, A. K., Adiprasetyo, T. A., & Hermansyah, H. (2019). The use of empty oil palm bunch compost as a substitute for NPK fertilizer in early oil palm nurseries. Journal of Indonesian Agricultural Sciences, 21(2), 75–81. Https://Doi.Org/10.31186/Jipi.21.2.75-81
Anhar, T. M. S., Sitinjak, R. R., Fachrial, E., & Pratomo, B. (2021). Respon Pertumbuhan Bibit Kelapa Sawit Di Tahap Pre-Nursery Dengan Aplikasi Pupuk Organik Cair Kulit Response To The Growth Of Oil Palm Seeds In The Pre- Nursery Stage With The Application Of Liquid Organic Fertilizer Kepok Banana Peels. Journal of Agricultural Sciences, 24(2), 94–99. Https://Doi.Org/10.30596/Agrium.V21i3.2456
Annisa, Azmi, Z., & Syahputra, Y. H. (2021). Decision Support System in the Selection of Fertilizer for Oil Palm Fruits to Increase Productivity Using the Multi Objective Optimization Method On The Basic Of Ratio Analysis (Moora). 4(2), 1–15.
As-Siddiqi, M. H., Auliasari, K., & Primaswara Prasetya, R. (2023). Development of a Fertilizer Type Recommendation System for Oil Palm Plants Using the Ahp (Analytical Hierarchy Process) Method. Jati (Student Journal of Informatics Engineering), 6(2), 957–964. Https://Doi.Org/10.36040/Jati.V6i2.5407
Damanik, N. S., Irawan, E., Lubis, M. R., & Windarto, A. P. (2020). Analysis of the Criterion Method of Optimizajica I Kompromisno Resenje (Vicor) in Recommending the Best Fertilizer for Oil Palm Plant Productivity. Journal Of Information Systems Research (Josh), 2(1), 47–54.
Dwi Fasnuari, H. A., Yuana, H., & Chulkamdi, M. T. (2022). Application of the K-Nearest Neighbor Algorithm for the Classification of Diabetes Mellitus. Antivirals : Scientific Journal of Informatics Engineering, 16(2), 133–142. Https://Doi.Org/10.35457/Antivirus.V16i2.2445
Firmansyah, E., Dewi, S. I., & Umami, A. (2021). Development of a web-based fertilization recommendation system for smallholder oil palm plantations. Journal of Agros Agriculture, 23(1), 109. Https://Doi.Org/10.37159/Jpa.V23i1.1285
Kasanah, A. N., Muladi, M., & Pujianto, U. (2019). Application of the Smote Technique to Overcome Class Imbalance in the Objectivity Classification of Online News Using the Knn Algorithm. Journal of Resti (Systems Engineering and Information Technology), 3(2), 196–201. Https://Doi.Org/10.29207/Resti.V3i2.945
Malik Namus Akbar, F. (2024). Knn (K-Nearest Neighbor) method to determine water quality. Journal of Compact Technology, 18(1), 28–40.
Muhammad, D. I., Ermatita, E., & Falih, N. (2021). The use of K-Nearest Neighbor (Knn) to classify star fruit imagery based on color features. Informatics: Journal of Computer Science, 17(1), 9. Https://Doi.Org/10.52958/Iftk.V17i1.2132
Panjaitan, Z., Elfitriani, E., Maya, W. R., & Siahaan, C. D. (2022). Application of the Expert System to Diagnose Cholera Disease Early in Children Using the K-Nearest Neighbor (KNN) Method. Journal Of Science And Social Research, 5(2), 220. Https://Doi.Org/10.54314/Jssr.V5i2.878
Prasetio, I. R. (2023). Comparison of the Composition of Planting Media and Application of Urea Fertilizer on the Growth of Oil Palm Seedlings (Elaeis guineensis Jacq.) In pre-nursery. Scientific Journal of Agricultural Science..., 3(5), 584–599. Http://Jurnalmahasiswa.Umsu.Ac.Id/Index.Php/Jimtani/Article/View/1714%0ahttp://Jurnalmahasiswa.Umsu.Ac.Id/Index.Php/Jimtani/Article/Viewfile/1714/1744
Ramadhan, S., & Nasrul, B. (2022). Growth of Oil Palm Seedlings (Elaeis guineensis Jacq.) By applying npk fertilizer and rice husk compost to inceptisol media. Agrotek: Scientific Journal of Agricultural Sciences, 6(1), 1–14. Https://Doi.Org/10.33096/Agrotek.V6i1.169
Sastypratiwi, H., & Nyoto, R. D. (2020). Expert system article data analysis using the systematic review method. Journal of Informatics Education and Research (Jepin), 6(2), 250. Https://Doi.Org/10.26418/Jp.V6i2.40914
Setyorini, T., Hartati, R. M., & Damanik, A. L. (2020). Oil palm seedling growth in pre nursery with the application of liquid organic fertilizer (banana peel) and npk fertilizer. Journal of Agricultural Science, 18(1), 98–106. Https://Doi.Org/10.32528/Agritrop.V18i1.3284
Taliki, S., Serwin, S., Nur, J., & Drajana, I. C. R. (2022). The application for diagnosing red chili plant diseases uses the K-Nearest Neighbor algorithm. Journal of Technology, 6(2), 361–373. Https://Doi.Org/10.51158/Tecnoscienza.V6i2.712
Titiaryanti, N. M., & Hastuti, P. B. (2023). The use of liquid organic fertilizers and NPK fertilizer doses in oil palm nurseries Main Nursery. Agrivet, 29(1), 1–10. Https://Doi.Org/10.31315/Agrivet.V29i1.7081
Wiranti, D. A. (2021). Implementation of pH and temperature measurement system in aquaponic plants based on the Internet of Things using K-Nearest Neighbour. 1–104.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Anggun Triutami, M. Fakhriza

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











