Data-Driven Crop Suitability Recommendation Using Random Forest And Soil-Climate Feature Analysis
DOI:
https://doi.org/10.63665/IJAICE.0203.07Keywords:
Crop Recommendation, Random Forest, Precision Agriculture, Soil Analysis, Climate Analysis, Machine Learning, Crop Suitability, Data-Driven Agriculture, Sustainable FarmingAbstract
Efficient crop selection is a crucial component of sustainable agriculture, improved productivity, and long-term food security. Selecting an appropriate crop depends on multiple soil and environmental conditions, while conventional farming practices often rely on farmers' experience and traditional cultivation patterns. This study presents a data-driven crop suitability recommendation system using the Random Forest algorithm and soil-climate feature analysis to support accurate and reliable crop selection.
The proposed system uses key agricultural parameters, including Nitrogen, Phosphorus, Potassium, soil pH, temperature, humidity, and rainfall, to evaluate soil fertility and prevailing climatic conditions. Data preprocessing and exploratory analysis are performed to improve data quality and identify significant relationships between agricultural features and crop suitability. A Random Forest Classifier is then employed to learn complex patterns from historical agricultural data. By combining the predictions of multiple decision trees, the model improves classification performance while reducing the risk of overfitting.
The developed system can recommend 22 different crop varieties based on varying soil and climatic conditions. Its performance is assessed using accuracy, precision, recall, F1-score, and a confusion matrix. Experimental results show that the Random Forest model achieves approximately 99% accuracy on the test dataset, demonstrating strong predictive performance and reliability. The proposed approach can support farmers and agricultural stakeholders in making informed, data-driven decisions, thereby contributing to efficient crop planning, sustainable farming practices, and enhanced agricultural productivity.
References
[1]. V. K. B. Parasaram, V. T. Bathini, S. K. Nalluri, and A. H. Sannidhanam, “A Sustainable AI-Enabled Predictive Maintenance Framework for Smart Industrial Systems Using Industrial IoT Data,” 2026 Third International Conference on Innovations in Cybersecurity and Data Science (ICICDS), pp. 440–447, 2026, doi:10.1109/ICICDS70526.2026.11604878.
[2]. J. Madhuri and M. Indiramma, “Hybrid filter and wrapper methods based feature selection for crop recommendation,” in Proceedings of ICESIC, pp. 247–252, 2022.
[3]. Sannidhanam, A. H. (2020). Scalable Web Services Architecture for Healthcare Data Processing. International Journal of Recent Advances in Science and Technology, 7(01), 1–14.
[4]. L. Zhang, Y. Huang, L. Rong, X. Duan, R. Zhang, Y. Li, and J. Guan, “Effect of soil erosion depth on crop yield based on topsoil removal method: A meta-analysis,” Agronomy for Sustainable Development, vol. 41, no. 5, pp. 1–13, 2021.
[5]. Shaik Abdul Waheed, Mohammed Sulaiman, Mirza Awaiz Baig, and Dr. Mohammed Abdul Bari, “Intelligent Conversational Agent for Seamless User Interaction Using NLP and Dialog flow,” International Journal of Information Technology and Computer Engineering, ISSN 2347–3657, Volume 13, Special Issue 2s, 2025, pp. 91–98.
[6]. T. van Klompenburg, A. Kassahun, and C. Catal, “Crop yield prediction using machine learning: A systematic literature review,” Computers and Electronics in Agriculture, vol. 177, Art. no. 105709, 2020.
[7]. Performance Analysis of Wireless Sensor Networks for Smart Monitoring Applications. (2016). International Journal of Humanities and Information Technology, 1(04), 10–29. doi:10.21590/ijhit.01.04.04.
[8]. S. Saleem, M. I. Sharif, M. Z. Sajid, and F. Marinello, “Comparison of deep learning models for multi-crop leaf disease detection with enhanced vegetative feature isolation,” Agronomy, vol. 14, no. 10, p. 2230, 2024.
[9]. Anjani Haritha Sannidhanam. (2023). Self-Healing Distributed Systems: AI-Driven Failure Prediction and Automated Recovery. International Journal of Research & Technology, 11(4), 168–174.
[10]. J. P. Aryal, T. B. Sapkota, R. Khurana, A. Khatri-Chhetri, D. B. Rahut, and M. L. Jat, “Climate change and agriculture in South Asia: Adaptation options in smallholder production systems,” Environment, Development and Sustainability, vol. 22, no. 6, pp. 5045–5075, 2020.
[11]. A. Kumar, S. Sarkar, and C. Pradhan, “Recommendation system for crop identification and pest control technique in agriculture,” in Proceedings of ICCSP, pp. 185–189, 2019.
[12]. Sannidhanam, A. H. (2026). LLM-Driven Workflow Optimization: Intelligent Routing in Asynchronous Distributed Systems. International Journal of AI and Machine Learning, 1(2), 23–33.
[13]. R. H. L. Ip, L.-M. Ang, K. P. Seng, J. C. Broster, and J. E. Pratley, “Big data and machine learning for crop protection,” Computers and Electronics in Agriculture, vol. 151, pp. 376–383, 2018.
[14]. Distributed Data Processing Frameworks for Large-Scale Healthcare Analytics. (2019). International Journal of Advance Industrial Engineering, 7(04), 1–10. doi:10.14741/ijaie/v.7.4.01.
[15]. F.-H. Tseng, H.-H. Cho, and H.-T. Wu, “Applying big data for intelligent agriculture-based crop selection analysis,” IEEE Access, vol. 7, pp. 116965–116974, 2019.
[16]. Sannidhanam, A. H. (2020). Comparative Analysis of Cloud Computing Architectures for Enterprise Applications. SAMRIDDHI: A Journal of Physical Sciences, Engineering and Technology, 12(02), 169–180. doi:10.18090//samriddhi.v12i02.16.
[17]. C. J. Ransom et al., “Statistical and machine learning methods evaluated for incorporating soil and weather into corn nitrogen recommendations,” Computers and Electronics in Agriculture, vol. 164, Art. no. 104872, 2019.
[18]. Vishwanath Nikhil, Dr. Mohammed Abdul Bari, “Real Time Powerlifting Form Assessment using Yolov5 and Mediapipe,” International Journal of Information Technology and Computer Engineering, ISSN 2347–3657, Volume 13, Special Issue 2s, 2025, pp. 574–584.
[19]. M. Sokolova and G. Lapalme, “A systematic analysis of performance measures for classification tasks,” Information Processing and Management, vol. 45, no. 4, pp. 427–437, 2009.
[20]. J. Madhuri and M. Indiramma, “Artificial neural networks based integrated crop recommendation system using soil and climatic parameters,” Indian Journal of Science and Technology, vol. 14, no. 19, pp. 1587–1597, 2021.
[21]. Sannidhanam, A. H., & Alladi, S. (2017). Cloud-Based Healthcare CRM Systems for Improved Patient Engagement. International Journal of Technology, Management and Humanities, 3(01), 32–44. doi:10.21590/ijtmh.3.03.4.
[22]. D. Elavarasan, D. R. Vincent, V. Sharma, A. Y. Zomaya, and K. Srinivasan, “Forecasting yield by integrating agrarian factors and machine learning models: A survey,” Computers and Electronics in Agriculture, vol. 155, pp. 257–282, 2018.
[23]. S. Pudumalar, E. Ramanujam, R. H. Rajashree, C. Kavya, T. Kiruthika, and J. Nisha, “Crop recommendation system for precision agriculture,” in Proceedings of the 8th International Conference on Advanced Computing, pp. 32–36, 2017.
[24]. Anjani Haritha Sannidhanam. (2023). Zero-Downtime AI Model Updates in Real-Time Inference Systems. International Journal of Engineering Science & Humanities, 13(2), 70–78.
[25]. K. G. Liakos, P. Busato, D. Moshou, S. Pearson, and D. Bochtis, “Machine learning in agriculture: A review,” Sensors, vol. 18, no. 8, p. 2674, 2018.
[26]. L. K. Suresh Kumar, Mohammed Abdul Bari, “Zero-Day Attack Detection In Multi-Tenant Cloud Environments Using Variational Autoencoders,” International Journal of Applied Mathematics, ISSN: 1311-1728 (printed version); ISSN: 1314-8060 (on-line version), Volume 38 No. 3s, 2025.
[27]. J. Luo, C. Zhao, Q. Chen, and G. Li, “Using deep belief network to construct the agricultural information system based on Internet of Things,” The Journal of Supercomputing, vol. 78, no. 1, pp. 379–405, 2022.
[28]. Sannidhanam, A. H. (2021). Real-Time Claims Processing Using Event-Driven Architectures. International Journal of Technology, Management and Humanities, 7(01), 36–50. doi:10.21590/07.01.02.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Authors

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


