GrowSmart Algorithm: A Machine Learning Approach to Predict Appropriate Fertilizer for Resilient Agriculture

Authors

Rajeev Kumar Dang
University Institute of Engineering & Technology, Panjab University SSG Regional Centre, Hoshiarpur, Punjab
Sukhvinder Singh Bamber
University Institute of Engineering & Technology, Panjab University SSG Regional Centre, Hoshiarpur, Punjab

Synopsis

With the challenges of climate change, food insecurity, and environmental degradation facing agriculture, innovative solutions are needed to optimize crop production while being sustainable. In this work, a crop recommendation system, powered by machine learning, is designed to help in rising to these new challenges. The system uses three algorithms, namely Random Forest, Naive Bayes, and XGBoost, to predict the most eligible crops based on comprehensive data sets encompassing soil characteristics, nutrient availability, rainfall, and temperature. With so much experimentation, it emerges that XGBoost is the model that thumps all others, reaching an impressive accuracy of 93%, followed by Random Forest at 92%. Naive Bayes, though computationally efficient, works less effectively with an accuracy of 65% and illustrates the general complexity of more precise models in predicting reality. The system considers users with different access to soil information from general information on the type of soil to detailed nutrient profiles, thus making it serviceable for smallholder and large-scale farmers. The research emphasizes prioritizing key soil parameters; that is, nitrogen, phosphorus, and potassium, as critical elements that determine crop viability and yield. The integration of climatic factors in the study makes the system adaptable to different agricultural environments by aligning the recommendations with regional weather patterns. Beyond its technological advances, the research suggests real potential in machine learning toward precision agriculture. The proposed system, on one hand, empowers farmers with data-driven insight and reduces resource wastage on the other, benefiting the environment as well. Its dual focus on scalability and sustainability integrates it as a transformative device in the agricultural sector to address both immediate and long-term challenges. This work forms the bridge that links traditional farming practices with modern technological solutions to pave the way to a more resilient and productive agricultural landscape.

Downloads

Published

29 December 2025

How to Cite

Dang, R. K., & Bamber, S. S. (2025). GrowSmart Algorithm: A Machine Learning Approach to Predict Appropriate Fertilizer for Resilient Agriculture. In R. K. Dang & S. S. . Bamber (Eds.), Machine Learning and Artificial Intelligence in Today’s Perspective (pp. 57-74). Deep Science Publishing. https://doi.org/10.70593/978-93-7185-555-6_6