AgroSage: A GA-Tuned Random Forest Framework for Smart Disease Diagnosis and Fertilizer Recommendation in Vegetable Crops
PDF

Keywords

Random Forest
Genetic Algorithm
PlantVillage
Fertilizer Recommendation
Plant Disease Detection
Sustainable Agriculture
Smart Farming
Precision Agriculture
Leaf Feature Extraction
Tomato Potato Pepper

How to Cite

AgroSage: A GA-Tuned Random Forest Framework for Smart Disease Diagnosis and Fertilizer Recommendation in Vegetable Crops. (2025). Journal of Information Technology and Digital World, 7(2), 174-188. https://doi.org/10.36548/jitdw.2025.2.007

Abstract

Precision agriculture requires scalable, interpretable, and deployable solutions ensuring consistent delivery of crop health assessments and nutrient management guidance. In this work, a two-stage plant disease classification and fertilizer recommendation system for tomato, potato, and pepper plants is proposed and named AgroSage, utilizing a GA-tuned Random Forest (RF) model. Unlike deep learning methods, which are computationally expensive and demand a large amount of data, AgroSage makes use of hand-engineered features such as color histograms, Local Binary Patterns (LBP), and shape descriptors derived from leaf images to build an efficient and interpretable classifier. The system is designed to detect five common diseases: early blight, late blight, bacterial wilt, anthracnose, and leaf curl virus. After a disease is detected, a second GA-optimized random forest-based model takes the crop type and soil macronutrient (N, P, K) levels as input to recommend the type and quantity of fertilizer that should be applied and the application method. Both models are incorporated into a lightweight web interface that allows for real-time inference and multilingual input, as well as offline caching. Stratified cross-validation verifies classification accuracy over 95% and fertilizer application accuracy at 95.2%. Customized forms of AgroSage can provide site-specific, disease-specific, and soil-specific recommendations to help farmers achieve healthy and sustainable crop yields, reduce chemical overuse, and bolster the resilience of precision agriculture systems in resource-constrained farming areas.

PDF

References

Ferentinos, K. P. (2018). Deep learning models for plant disease detection and diagnosis. Computers and electronics in agriculture, 145, 311-318.

Mohanty, S. P., Hughes, D. P., & Salathé, M. (2016). Using deep learning for image-based plant disease detection. Frontiers in plant science, 7, 215232.

Sladojevic, S., Arsenovic, M., Anderla, A., Culibrk, D., & Stefanovic, D. (2016). Deep neural networks based recognition of plant diseases by leaf image classification. Computational intelligence and neuroscience, 2016(1), 3289801.

Lu, J., Hu, J., Zhao, G., Mei, F., & Zhang, C. (2017). An in-field automatic wheat disease diagnosis system. Computers and electronics in agriculture, 142, 369-379.

Prajapati, H. B., Shah, J. P., & Dabhi, V. K. (2017). Detection and classification of rice plant diseases. Intelligent Decision Technologies, 11(3), 357-373.

Arogundade, O. T., Atasie, C., Misra, S., Sakpere, A. B., Abayomi-Alli, O. O., & Adesemowo, K. A. (2021). Improved predictive system for soil test fertility performance using fuzzy rule approach. In Soft Computing and its Engineering Applications: Second International Conference, icSoftComp 2020, Changa, Anand, India, December 11–12, 2020, Proceedings 2 (pp. 249-263). Springer Singapore.

Schärer, M., Page, T., & Beven, K. (2006). A fuzzy decision tree to predict phosphorus export at the catchment scale. Journal of Hydrology, 331(3-4), 484-494.

Lavanya, R. M., Naidu, D. S., Biban, L., Sukumar, P., Srija, N., & Sucharitha, M. (2024, October). Optimizing Fertilizer Recommendations for Crops Using Gradient Boosted Decision Trees with Logistic Regression and GA. In 2024 Global Conference on Communications and Information Technologies (GCCIT) (pp. 1-6). IEEE.

Zhang, C., & Kovacs, J. M. (2012). The application of small unmanned aerial systems for precision agriculture: a review. Precision agriculture, 13, 693-712.

Musanase, C., Vodacek, A., Hanyurwimfura, D., Uwitonze, A., & Kabandana, I. (2023). Data-driven analysis and machine learning-based crop and fertilizer recommendation system for revolutionizing farming practices. Agriculture, 13(11), 2141.

Osaba, E., Villar-Rodriguez, E., Del Ser, J., Nebro, A. J., Molina, D., LaTorre, A., ... & Herrera, F. (2021). A tutorial on the design, experimentation and application of metaheuristic algorithms to real-world optimization problems. Swarm and Evolutionary Computation, 64, 100888.

Sayed, S., Nassef, M., Badr, A., & Farag, I. (2019). A nested genetic algorithm for feature selection in high-dimensional cancer microarray datasets. Expert Systems with Applications, 121, 233-243.

Khalid, S., Khalil, T., & Nasreen, S. (2014, August). A survey of feature selection and feature extraction techniques in machine learning. In 2014 science and information conference (pp. 372-378). IEEE.

Mulla, D. J. (2013). Twentyfive years of remote sensing in precision agriculture: Key advances and remaining knowledge gaps. Biosystems engineering, 114(4), 358-371.

Bhat, S. A., & Huang, N. F. (2021). Big data and ai revolution in precision agriculture: Survey and challenges. Ieee Access, 9, 110209-110222.