Fertilizer Recommendation Using Deep Soil Inspection

Conventional fertilizer-appointment systems generally provide a one-stop solution to nutrient management which may not be optimal in different agricultural conditions. This paper proposes an explainable XGBoost-based framework, which considers soil properties, climatic parameters, and crop-specific information to provide precise fertilizer recommendations. A novel contribution is the introduction of SHAP (SHapley Additive exPlanations) for model interpretability to help farmers understand the key drivers of the recommendations. The dataset consisted of 1,200 samples of NPK values, pH, temperature, rainfall, soil color, and crop type, which were preprocessed by standardization and label encoding. Grid-search-based hyperparameter tuning helped in model optimization, achieving 92.3% accuracy on test data as compared to 88.5% for Random Forests and 84.7% for SVMs. SHAP analysis highlighted soil Nitrogen (weight=0.35) and Rainfall (weight=0.18) as the most influential features. A user interface to provide recommendations in real time demonstrated the working of this system. The work brings forward a connection between complex machine learning models and agricultural insight.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-05-01
DOI
https://doi.org/10.5281/zenodo.15314789
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fertilizer Recommendation Using Deep Soil Inspection

Zenodo (CERN European Organization for Nuclear Research)
Smart Agriculture and AI
article

Fertilizer Recommendation Using Deep Soil Inspection

article en

Abstract

Conventional fertilizer-appointment systems generally provide a one-stop solution to nutrient management which may not be optimal in different agricultural conditions. This paper proposes an explainable XGBoost-based framework, which considers soil properties, climatic parameters, and crop-specific information to provide precise fertilizer recommendations. A novel contribution is the introduction of SHAP (SHapley Additive exPlanations) for model interpretability to help farmers understand the key drivers of the recommendations. The dataset consisted of 1,200 samples of NPK values, pH, temperature, rainfall, soil color, and crop type, which were preprocessed by standardization and label encoding. Grid-search-based hyperparameter tuning helped in model optimization, achieving 92.3% accuracy on test data as compared to 88.5% for Random Forests and 84.7% for SVMs. SHAP analysis highlighted soil Nitrogen (weight=0.35) and Rainfall (weight=0.18) as the most influential features. A user interface to provide recommendations in real time demonstrated the working of this system. The work brings forward a connection between complex machine learning models and agricultural insight.

Zenodo (CERN European Organization for Nuclear Research)
Zero hunger
Openalex Percentile: Top 43%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Fertilizer Recommendation Using Deep Soil Inspection · Zenodo (CERN European Organization for Nuclear Research) (2025) | TGRS Research Map | TGRS