Advanced AI-Driven Crop Recommendation System for Maximizing Agricultural Efficiency and Sustainability
Keywords:
Crop recommendation, IoT in agriculture, Machine learning, Precision farming, Random Forest, Soil analysisAbstract
This study introduces a machine learning-based crop recommendation system designed to assist farmers in selecting suitable crops based on soil and environmental parameters. The system utilizes historical and real-time data, including temperature, humidity, pH level, and rainfall, to generate personalized crop suggestions. After performing data cleaning, normalization, and feature encoding, multiple machine learning algorithms were evaluated to determine the best-performing model. The Random Forest Classifier demonstrated superior accuracy (93.2%) and robustness in handling complex, high-dimensional agricultural data, outperforming other models such as Support Vector Machine (SVM), Decision Tree, and Logistic Regression.
The model's predictive performance was assessed using standard classification metrics such as accuracy, precision, recall, and the F1-score. Grid Search was applied to fine-tune hyperparameters, while K-fold cross-validation ensured model generalizability. The system also integrates real-time environmental updates and market-aware decision-making through IoT inputs and feedback loops. The goal is to empower farmers with a user-friendly, data-driven platform that promotes sustainable agriculture and maximizes crop productivity.
References
M. R. Islam, K. Oliullah, M. M. Kabir, M. Alom, and M. F. Mridha, “Machine learning enabled IoT system for soil nutrients monitoring and crop recommendation,” Journal of Agriculture and Food Research, vol. 14, p. 100880, Dec. 2023, doi: https://doi.org/10.1016/j.jafr.2023.100880
Ö. Turgut, İ. Kök, and S. Özdemir, "AgroXAI: Explainable AI-driven crop recommendation system for Agriculture 4.0," in Proc. 2024 IEEE International Conference on Big Data (BigData), Dec. 2024, pp. 7208-7217, doi: https://doi.org/10.1109/BigData62323.2024.10825771
V. K. Enugala and S. Prasad, “IoT-enabled soil-integrated crop yield predictor (IoT-SICYP): Advancing precision agriculture through integration of IoT and deep learning,” Journal of Electrical Systems, vol. 20, no. 11s, pp. 3667–3683, 2024. Available: https://journal.esrgroups.org/jes/article/view/8202
Naga, “IoT-Driven Enhanced Crop Recommendations with Machine Learning Algorithms,” Tuijin Jishu/Journal of Propulsion Technology, vol. 45, no. 03, pp. 3242–3254, 2024, doi: https://doi.org/10.52783/tjjpt.v45.i03.7730.
A. Gor, K. Joshi, R. Togadiya, and W. Patel, "Automation in irrigation using IoT and ML based crop recommendation system," International Journal of Engineering Research & Technology (IJERT), vol. 12, no. 3, pp. 171-176, Mar. 2023. Available: https://www.ijert.org/automation-in-irrigation-using-iot-and-ml-based-crop-recommendation-system
M. O. Abdullahi, A. D. Jimale, Y. A. Ahmed, and A. Y. Nageye, “Revolutionizing Somali agriculture: harnessing machine learning and IoT for optimal crop recommendations,” Discover Applied Sciences, vol. 6, no. 3, p. 77, Feb. 2024, doi: https://doi.org/10.1007/s42452-024-05739-y
P. Singh, M. K. Singh, N. Singh, and A. Chakraverti, "IoT and AI-based intelligent agriculture framework for crop prediction," International Journal of Sensors Wireless Communications and Control, vol. 13, no. 3, pp. 145–154, Jun. 2023, doi: https://doi.org/10.2174/2210327913666230509144225
A. M. Chana, B. Batchakui, and B. B. Nges, "Real-time crop prediction based on soil fertility and weather forecast using IoT and a machine learning algorithm," Agricultural Sciences, vol. 14, no. 5, pp. 645-664, May 2023, doi: https://doi.org/10.4236/as.2023.145044
S. Sloat, “Farmers are using IoT to take the guesswork out of growing,” Business Insider, May 2, 2025. Available: https://www.businessinsider.com/iot-technology-precision-agriculture-transforming-farming-2025-5
S. S. Priyanka, M. Raju, G. Smitha, J. Lahari, G. A. Reddy, and P. M. Vinay, “IoT based crop recommendation system using machine learning for smart agriculture,” in Proc. 2nd International Conference on Emerging Trends in Engineering (ICETE 2023), Atlantis Press, Nov. 9, 2023, pp. 893–904. doi: https://doi.org/10.2991/978-94-6463-252-1_90