Predicting Fertilizer Quantity Using Geo-Spatial and Physicochemical Properties of Soil
DOI:
https://doi.org/10.3126/injet.v3i2.95535Keywords:
Precision agriculture, fertilizer recommendation, multi-output regression, ensemble learning, soil physicochemical properties, geospatial analysisAbstract
Nepal's economy is highly dependent on agriculture, yet smallholder farmers benefit far less than they could because they rely on traditional practices or one-size-fits-all recommendations that ignore local soil and topographic variation. To address this, precision farming must be adopted nationwide, and the precise use of fertilizers for the right crop type is a critical part of this transition. This study presents a novel approach to recommend fertilizer quantities for the three major cereal crops, rice, maize, and wheat, including their OPV and hybrid subtypes, by modeling the problem as a multi-output regression task. The model uses the soil's physicochemical properties (pH, organic matter, total nitrogen, available phosphorus, available potassium, sand, silt, parent soil, clay, zinc, and boron) and geospatial properties (latitude, longitude, and elevation) as inputs. Around 386,000 soil data points from all provinces of Nepal were collected from the National Soil Science Research Center of Nepal Agricultural Research Council through a custom data extraction and transformation pipeline. A comparative analysis of Random Forest, XGBoost, and LightGBM was conducted against Linear and Ridge Regression baselines. Tree-based ensemble models consistently outperformed linear approaches, with LightGBM, XGBoost, and Random Forest achieving R² values of 0.976, 0.975, and 0.972, respectively, while both linear models only achieved 0.755. 10-fold cross-validation on a small subset suggests that performance across individual folds is consistent, rather than being overfit to the data. The proposed framework offers a scalable, data-driven path toward site-specific fertilizer recommendation across Nepal's diverse topography.
Downloads
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 International Journal on Engineering Technology

This work is licensed under a Creative Commons Attribution 4.0 International License.
This license enables reusers to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator. The license allows for commercial use.