Abstract
Agriculture is crucial to the existence of man, and its productivity in a country plays a significant role in the growth of the economy. Conventionally, farmers used experience to know how to cultivate and the types of crops to grow, but developments in climatic and environmental conditions have, in recent years, complicated the process of selecting the right crop for farmers. This research will answer this question by applying machine learning (ML) methods to make a fruit crop suggestion using soil macronutrients such as Nitrogen, Phosphorus, and Potassium, temperature, humidity, rainfall, and soil pH. Decision Tree (DT), Random Forest (RF), K-Nearest Neighbor (KNN), Naive Bayes (NB), and Support Vector Machine (SVM) were comparatively tested out of 5 ML algorithms. According to experiment results, the predictive accuracy of 95.45 with 5-fold validation of 5-fold validation is the highest, with better ability to interpret features, strong resistance to noise, and high levels of consistency. NPK patterns, climate effects, and correlation-based interactions feature analysis further amplify the accuracy of the model. These findings affirm that ML-based soil-climate fusion has the capability to provide a scalable, interpretable, and effective framework of sustainable fruit crop recommendation in the changing agro-climatic conditions in India.
Keywords
Crop Recommendation, Machine Learning, Agriculture, Cross Validation,Downloads
References
- R. Singh, R. Singh, A. Gehlot, S.V. Akram, N. Priyadarshi, B. Twala, Horticulture 4.0: Adoption of Industry 4.0 Technologies in Horticulture for Meeting Sustainable Farming. Applied Sciences, 12(24), (2022) 12557. https://doi.org/10.3390/app122412557
- M.A. Haque, S.Z. Sakimin, Planting Arrangement and Effects of Planting Density on Tropical Fruit Crops-A Review. Horticulturae, 8(6), (2022) 485. https://doi.org/10.3390/horticulturae8060485
- R. Bhagat, S.S. Walia, K. Sharma, R. Singh, G. Singh, A. Hossain, The Integrated Farming System Is An Environmentally Friendly And Cost‐Effective Approach to the Sustainability of Agri‐Food Systems in the Modern Era of the Changing Climate: A Comprehensive Review. Food and Energy Security, 13(1), (2024) e534. https://doi.org/10.1002/fes3.534
- A. Sridhar, A. Balakrishnan, M.M. Jacob, M. Sillanpaa, N. Dayanandan, Global impact of COVID-19 on Agriculture: Role of Sustainable Agriculture and Digital Farming.Environmental Science and Pollution Research, 30(15), (2023) 42509-42525. https://doi.org/10.1007/s11356-022-19358-w
- H. Pathak, Impact, adaptation, and mitigation of climate change in Indian agriculture. Environmental Monitoring and Assessment, 195(1), (2023) 52. https://doi.org/10.1007/s10661-022-10537-3
- A. Nasirahmadi, O. Hensel, Toward the Next Generation of Digitalization in Agriculture Based on Digital Twin Paradigm. Sensors, 22(2), (2022) 498. https://doi.org/10.3390/s22020498
- A. Mitra, S.L.T. Vangipuram, A.K. Bapatla, V.K.V.V. Bathalapalli, S.P. Mohanty, E. Kougianos, C. Ray, Everything you wanted to know about smart agriculture. arXiv, (2022) arXiv:2201.04754. https://doi.org/10.48550/arXiv.2201.04754
- G. Suruliandia, G. Mariammal, S.P. Raja, Crop Prediction Based on Soil and Environmental Characteristics Using Feature Selection Techniques. Mathematical and Computer Modeling of Dynamical Systems, 27(1), (2021) 117–140. https://doi.org/10.1080/13873954.2021.1882505
- D. Mohapatra, S. Mishra, Application of Hurdles for Extending the Shelf Life of Fresh Fruits. Trends in Post-Harvest Technology, 1(1), (2013) 37-54.
- R. N. Singh, S. Sah, B. Das, R. Jaiswal, A.K. Singh, K.S. Reddy, H. Pathak, Innovative and polygonal trend analysis of temperature in agro climatic zones of India. Scientific Reports, 14 (2024) 29914. https://doi.org/10.1038/s41598-024-78597-8
- Eunice Bacelar, Teresa Pinto, Rosário Anjos, Maria Cristina Morais, Ivo Oliveira, Alice Vilela and Fernanda Cosme, Impacts of Climate Change and Mitigation Strategies for Some Abiotic and Biotic Constraints Influencing Fruit Growth and Quality. Plants, 13(14) (2024) 1942. https://doi.org/10.3390/plants13141942
- A.P. Bhuyan, R. Tomar, T.P. Singh, A.R. Cherif, Crop type prediction: A Statistical and Machine Learning Approach. Sustainability, 15(1), (2023) 481. https://doi.org/10.3390/su15010481
- S.M. Pande, P.K. Ramesh, Anmol, B.R. Aishwarya, K. Rohilla, K. Shaury, (2021) Crop Recommender System Using Machine Learning Approach. In Proceeding 2021 5th International Conference on Computing Methodologies and Communication (ICCMC), IEEE, Erode, India. https://doi.org/10.1109/ICCMC51019.2021.9418351
- M. Ali, M. Mubeen, N. Hussain, A. Wajid, H.U. Farid, M. Awais, S. Hussain, W. Akram, A. Amin, R. Akram, M. Imran, Role of ICT in Crop Management. In Agronomic Crops: Springer Singapore, (2019) 637-652. https://doi.org/10.1007/978-981-32-9783-8_28
- S. Khaki, L. Wang, Crop yield prediction using deep neural networks. Frontiers in Plant Science, 10, (2019) 621. https://doi.org/10.3389/fpls.2019.00621
- S.P. Raja, B. Sawicka, Z. Stamenkovic, G. Maximal, Crop Prediction Based on Characteristics of the Agricultural Environment Using Various Feature Selection Techniques and Classifiers. IEEE Access, IEEE, 10 (2022) 23625 – 23641. https://doi.org/10.1109/ACCESS.2022.3154350
- K. Nischitha, D. Vishwakarma, M.N. Ashwini, M.R. Manjuraju, Crop prediction using machine learning approaches. International Journal of Engineering Research & Technology (IJERT), 9(8), (2020) 23–26.
- M.S. Rao, A. Singh, N.V.S. Reddy, D.U. Acharya, Crop Prediction Using Machine Learning. Journal of Physics: Conference Series, 2161(1), (2022) 012033.
- M.V. Patil, S. Deshpande, Crop Prediction System using Machine Learning. International Journal of Emerging Technologies and Innovative Research, 6(5), (2019) 178-182.
- M.S. Roobini, R. Sivasangari, L. Sujihelen, T. Ananthi, G. Nagarajan, Crop Suggestion Using Machine Learning Based on Soil Condition. Natural Volatiles & Essential Oils (NVEO), 8(5), (2021) 323-330.
- R.B. Kumar, K. Balakrishna, A. Bency Celso, M. Siddesha, R. Sushmitha, Crop recommendation system for precision agriculture. International Journal of Computer Sciences and Engineering Open Access, 7(5), (2019) 1277-1282. https://doi.org/10.26438/ijcse/v7i5.12771282
- S.K.S. Raja, R. Rishi, E. Sundaresan, V. Srijit, (2017) Demand Based Crop Recommender System for Farmers. In Proceeding 2017 IEEE Technological Innovations in ICT for Agriculture and Rural Development (TIAR), IEEE, Chennai, India. https://doi.org/10.1109/TIAR.2017.8273714
- S. Pudumalar, E. Ramanujam, R.H. Rajashree, C. Kavya, T. Kiruthika, J. Nisha, Crop Recommendation System for Precision Agriculture. In 2016 Eighth International Conference on Advanced Computing (ICoAC), IEEE, 32-36.
- Seasonal fruits in India. Wellcurve. https://www.wellcurve.in/blog/seasonal-fruits-in-india/
- A. Verma, C.B. Datta, K. Pandey, A. Sinha, K.R. Saxena, Optimized Crop Recommendation System using Machine Learning for Soil Analysis. In Proceedings of the International Conference Advances and Applications in Artificial Intelligence (ICAAAI), Atlantis Press, (2025) 972-987. https://doi.org/10.2991/978-94-6463-738-0_76
- K.N. Vhatkar, S.A. Koparde, S. Kothari, J. Sarwade, K. Sakur, Enhancing prediction of crop yield and soil health assessment for sustainable agriculture using machine learning approach. MethodsX, 14, (2025) 103418. https://doi.org/10.1016/j.mex.2025.103418
- S. Mahalakshmi, A.J. Anand, P. Partheeban, Soil and Crop Interaction Analysis for Yield Prediction with Satellite Imagery and Deep Learning Techniques for the Coastal Regions. Journal of Environmental Management, 380, (2025) 125095. https://doi.org/10.1016/j.jenvman.2025.125095
- A. Basu, A. Narayan, the Role of Machine Learning In Transforming Agricultural Practices: Insights into Crop Yield Optimization and Disease Detection. Iran Journal of Computer Science, 8, (2025) 1199-1217. https://doi.org/10.1007/s42044-025-00280-6
- N. Sneha, M.S. Ananda Murthy, R. Ranjan, Deep Learning-Based Crop Recommendation Model for Grape and Bean Yield Prediction using Micro and Macronutrient Analysis. SN Computer Science, 6(5), (2025) 547. https://doi.org/10.1007/s42979-025-04060-8
Articles

