Skip to content

Fertilizer Recommender using XGBoost and Random Forest

Aug 2026 · International Journal of Data Mining Techniques and Applications · 0 citations · 7 references

TL;DR

The proposed XG-RF model outperformed traditional standalone approaches, achieving improved fertilizer prediction accuracy and optimized fertilizer dosage recommendations, and incorporates continuous learning through farmer feedback and historical records to improve future predictions.

Abstract

Agricultural productivity in Zambia and many developing countries is significantly affected by poor soil fertility management and the lack of site-specific fertilizer recommendations. Traditional fertilizer advisory methods often provide generalized guidance, resulting in nutrient imbalance, reduced crop yield, increased production costs, and environmental degradation. This paper presents a Fertilizer Recommender System using a hybrid XGBoost and Random Forest (XG-RF) machine learning approach to generate personalized fertilizer recommendations based on soil nutrients, crop type, weather conditions, and historical farm data. The system was developed using the Kaggle Fertilizer Recommendation Dataset containing soil parameters such as nitrogen (N), phosphorus (P), potassium (K), pH, moisture, temperature, rainfall, crop type, fertilizer type, and dosage information. Random Forest was selected for its robustness and ability to handle non-linear agricultural data, while XGBoost was employed for its high predictive accuracy and efficient gradient boosting capability. The dataset was preprocessed, normalized, and divided into training and testing sets using an 80:20 ratio, with model evaluation performed using accuracy, precision, recall, and F1-score metrics. Experimental results demonstrated that the proposed XG-RF model outperformed traditional standalone approaches, achieving improved fertilizer prediction accuracy and optimized fertilizer dosage recommendations. The system also incorporates continuous learning through farmer feedback and historical records to improve future predictions. By integrating precision agriculture techniques with machine learning, the proposed solution supports sustainable farming practices, reduces fertilizer misuse, minimizes environmental impact, and enhances crop productivity for major Zambian crops including maize, soybean, cassava, tomato, and groundnut.

View source

Similar papers

Open access Aug 2026

Precision Crop Planning System using Machine Learning

A Precision Crop Planning System using Machine Learning that assists farmers in making informed decisions about crop selection and farm management and aims to support smarter farming decisions, improved crop yield, and efficient use of resources while minimizing crop losses.

Vamsi Krishna, P. Manichandra, Y. S. Keerthi et al. · 0 citations
Open access Sep 2026

Ai Based Smart Crop Recommendation and Yield Prediction Using Ml and Weather Analytics

The proposed framework provides an intelligent, scalable, and data-driven decision support system that can assist farmers, agricultural experts, and policymakers in improving productivity, optimizing resource utilization, and promoting sustainable farming practices under varying climatic conditions.

Choudhuri Saswat Pattnaik, Rojalini Mohanty, Bijaya Laxmi Hazra et al. · 0 citations
Open access Aug 2026

MACHINE LEARNING-BASED CROP RECOMMENDATION SYSTEM

A Machine Learning-Based Crop Recommendation System that utilizes supervised learning algorithms to recommend the most suitable crop based on soil nutrients, climatic conditions, and environmental parameters is proposed.

V. Shyamala, M. Naidu · 0 citations
Open access Jul 2026

A Hybrid Machine Learning and Optimization Framework for Predictive Soil Health Maintenance and Fertilizer Recommendation

The proposed framework offers a robust, scalable, and interpretable solution for proactive soil health management and efficient fertilizer utilization, contributing toward sustainable agricultural practices as well as reliable and actionable decision support for precision agriculture.

Ganeshwari Patil, D. Bhalke, Nilakshee Rajule et al. · 0 citations
Review Open access Aug 2026

Crop recommendation in precision agriculture: a systematic literature review of methods, trends, and challenges

The review showed that ensemble learning-based approaches, particularly Random Forest and Extreme Gradient Boosting (XGBoost), are powerful for predictive performance on various agricultural datasets and shows the importance of scalable and explainable AI systems for real applications in agriculture.

E. Oladipe, S. Adewumi, Taiwo Kolajo et al. · 0 citations
Aug 2026

Data Analytics for Crop Recommendation towards Sustainable Agriculture Development

This study will aim at helping farmers to overcome the agricultural problem and embrace the best practices to help both the small scale farmers and the farming managers to choose the crops with the highest yield.

R. A. R. Semmalar V I · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.