Soil fertility is a crucial aspect of agricultural productivity and sustainability, determines the soil's capacity to provide essential nutrients necessary for plant growth and development. This study focuses on the analysis and prediction of soil fertility using ensemble learning techniques in the South Gondar Zone. By examining various soil parameters, including macro and micronutrients, soil structure, pH, and organic matter content, the research aims to develop predictive models that accurately assess soil fertility levels. The objective of this study is to analyze and predict soil fertility using machine learning techniques, specifically targeting the south Gondar Zone, in the Amhara region of Ethiopia. The dataset for this study comprises 20,168 instances, including both fertile and non-fertile samples, with 17 selected attributes. Several machine learning models were evaluated on both the original and SMOTE-balanced datasets. The models included Random Forest, AdaBoost, and XGBoost classifiers. I applied Random Forest classifier consistently demonstrated the highest performance, with testing accuracies of 94.55% on the original dataset and 94.37% on the SMOTE-balanced dataset. AdaBoost also showed strong performance, achieving testing accuracies of 94.6% and 94.31% on the original and SMOTE-balanced datasets, respectively. XGBoost performed well but was slightly less accurate compared to the ensemble methods. However, XGBoost showed robust performance on both datasets, with testing accuracies of 94.04% and 94.27%. Feature importance analysis using the Random Forest classifier has shown that factors such as Clay, CEC, CaCO3, Sand, and Mn significantly impact soil fertility prediction. as a conclusion Random Forest classifier, an ensemble-based learning technique, was the most reliable and accurate model for predicting soil fertility. These results highlight the importance of specific soil properties in determining fertility and can guide targeted soil management practices to improve agricultural productivity.
| Published in | American Journal of Robotics and Intelligent Systems (Volume 1, Issue 3) |
| DOI | 10.11648/j.ajris.20260103.11 |
| Page(s) | 73-83 |
| Creative Commons |
This is an Open Access article, distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution and reproduction in any medium or format, provided the original work is properly cited. |
| Copyright |
Copyright © The Author(s), 2026. Published by Science Publishing Group |
Random Forest, AdaBoost, Random Forest Classifier, SMOTE
S. No | Attribute name | Data type | Description |
|---|---|---|---|
1 | PH | Number | Soil pH Value |
2 | EC | Number | Electric Conductivity |
3 | OC | Number | Organic Carbon |
4 | OM | Number | Organic Matter |
5 | N | Number | Nitrogen Content |
6 | P | Number | Phosphorous Content |
7 | K | Number | Potassium Content |
8 | Ze | Number | Zinc Content |
9 | Fe | Number | Iron Content |
10 | Cu | Number | Copper Content |
11 | Mn | Number | Manganese Content |
12 | Slit | Number | Soil Composition |
13 | Clay | Number | Clay content of the soil |
14 | Sand | Number | Sand content of the soil |
15 | CaCO3 | Number | Sodium Bi-Carbonate Content |
16 | CEC | Number | Cation Exchange Capacity |
17 | Fertility | Number | Fertile (1) or not fertile (0) |
Predict | 1 | 0 |
|---|---|---|
1 | True positives (TP): Cases in which prediction is "1," soil fertility will be fertile, and it is fertile | False negatives (FN): Cases in which prediction is " not fertile," but actually it is fertile (type II error) |
0 | False positives (FP): Cases in which the prediction is "1," or fertile but it is not fertile (type I error) | True negatives (TN): Cases in which prediction is "not fertile," and it is not fertile |
AdaBoost | Adaptive Boosting |
CaCO3 | Calcium Carbonatefp False Positives |
CEC | Cation Exchange Capacity |
FN | False Negative |
KNN | K-Nearest Neighbors |
Mn | Sand Content, and Manganese |
TN | True Negative |
TP | True Positives |
SMOTE | Synthetic Minority Over-sampling Technique |
XGBoost | Extreme Gradient Boosting |
| [1] | L. D. Tamene, T. Amede, J. Kihara, D. Tibebe, and S. Schulz, “A review of soil fertility management and crop response to fertilizer application in Ethiopia: towards development of site-and context-specific fertilizer recommendation,” CIAT Publ., 2017. |
| [2] | P. A. Sanchez, G. L. Denning, and G. Nziguheba, “The African green revolution moves forward,” Food Secur., vol. 1, pp. 37–44, 2009. |
| [3] | C. Yirga, T. Erkossa, and G. Agegnehu, “Soil acidity management.” Ethiopian Institute of Agricultural Research, 2019. |
| [4] | A. Deressa, M. Yli-Halla, M. Mohamed, and L. Wogi, “Phosphorus sorption characteristics of lime amended Ultisols and Alfisols in humid tropical Western Ethiopia,” Open Access J. Environ. Soil Sci., 2020. |
| [5] | B. Iticha and C. Takele, “Digital soil mapping for site-specific management of soils,” Geoderma, vol. 351, pp. 85–91, 2019. |
| [6] | J. Havlin and R. Heiniger, “Soil fertility management for better crop production,” Agronomy, vol. 10, no. 9. MDPI, p. 1349, 2020. |
| [7] | T. Erkossa, A. Wudneh, B. Desalegn, and G. Taye, “Linking soil erosion to on-site financial cost: lessons from xmltex\backslashnewline?> watersheds in the Blue Nile basin,” Solid Earth, vol. 6, no. 2, pp. 765–774, 2015. |
| [8] | G. Zelleke, G. Agegnehu, D. Abera, and S. Rashid, “Fertilizer and soil fertility potential in Ethiopia,” Gates Open Res, vol. 3, no. 482, p. 482, 2019. |
| [9] | B. Nigussa, “A Trilingual Android Application with Automatic Malaria Detection from Microscopic Images of Red Blood Cells”, PhD thesis, Addis Ababa University, Ethiopia. |
| [10] | y Y. Ding, H. Zhu, R. Chen, R. Li, “An Efficient AdaBoost Algorithm with the Multiple Thresholds Classification”, Appl. Sci. 2022, 12(12), 5872; |
| [11] | C. D. Popa, R. Dan, L. Haidar, C. Popescu, R. Dan, T. Popa, and L. Petrescu,”Quantification of Cardiovascular Disease Risk Among Hypertensive Subjects in Active Romanian Population Using New Echocardiographic, Biological and Atherogenic Markers”, 2026, 62(1), 32; |
| [12] | L. Hanif, Implementing Extreme Gradient Boosting (XGBoost) Classifier to Improve Customer Churn Prediction, |
| [13] | S. Adane, P. Thomas, “Analysis and Prediction of Soil Fertility Using Machine Learning Techniques in North Wollo Zone, Amhara Region, in Ethiopia”, 1st Edition, 2025. |
| [14] | N. Janvier, N. Arcade, N. Eric, and N. Jean, “Machine learning based soil fertility prediction,” Int. J. Innov. Sci. Eng. Technol., vol. 8, no. 7, pp. 141–146, 2021. |
| [15] | A. R. RV, S. R. U, “ Enhancing Soil Fertility Prediction Through Advanced Modelling: Agrimind Intelligent Fertility Predictor”. |
APA Style
Tewabe, T. M. (2026). Analysis and Prediction of Soil Fertility Using Machine Learning Techniques. American Journal of Robotics and Intelligent Systems, 1(3), 73-83. https://doi.org/10.11648/j.ajris.20260103.11
ACS Style
Tewabe, T. M. Analysis and Prediction of Soil Fertility Using Machine Learning Techniques. Am. J. Rob. Intell. Syst. 2026, 1(3), 73-83. doi: 10.11648/j.ajris.20260103.11
@article{10.11648/j.ajris.20260103.11,
author = {Tigist Mintesnot Tewabe},
title = {Analysis and Prediction of Soil Fertility Using Machine Learning Techniques},
journal = {American Journal of Robotics and Intelligent Systems},
volume = {1},
number = {3},
pages = {73-83},
doi = {10.11648/j.ajris.20260103.11},
url = {https://doi.org/10.11648/j.ajris.20260103.11},
eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.ajris.20260103.11},
abstract = {Soil fertility is a crucial aspect of agricultural productivity and sustainability, determines the soil's capacity to provide essential nutrients necessary for plant growth and development. This study focuses on the analysis and prediction of soil fertility using ensemble learning techniques in the South Gondar Zone. By examining various soil parameters, including macro and micronutrients, soil structure, pH, and organic matter content, the research aims to develop predictive models that accurately assess soil fertility levels. The objective of this study is to analyze and predict soil fertility using machine learning techniques, specifically targeting the south Gondar Zone, in the Amhara region of Ethiopia. The dataset for this study comprises 20,168 instances, including both fertile and non-fertile samples, with 17 selected attributes. Several machine learning models were evaluated on both the original and SMOTE-balanced datasets. The models included Random Forest, AdaBoost, and XGBoost classifiers. I applied Random Forest classifier consistently demonstrated the highest performance, with testing accuracies of 94.55% on the original dataset and 94.37% on the SMOTE-balanced dataset. AdaBoost also showed strong performance, achieving testing accuracies of 94.6% and 94.31% on the original and SMOTE-balanced datasets, respectively. XGBoost performed well but was slightly less accurate compared to the ensemble methods. However, XGBoost showed robust performance on both datasets, with testing accuracies of 94.04% and 94.27%. Feature importance analysis using the Random Forest classifier has shown that factors such as Clay, CEC, CaCO3, Sand, and Mn significantly impact soil fertility prediction. as a conclusion Random Forest classifier, an ensemble-based learning technique, was the most reliable and accurate model for predicting soil fertility. These results highlight the importance of specific soil properties in determining fertility and can guide targeted soil management practices to improve agricultural productivity.},
year = {2026}
}
TY - JOUR T1 - Analysis and Prediction of Soil Fertility Using Machine Learning Techniques AU - Tigist Mintesnot Tewabe Y1 - 2026/08/17 PY - 2026 N1 - https://doi.org/10.11648/j.ajris.20260103.11 DO - 10.11648/j.ajris.20260103.11 T2 - American Journal of Robotics and Intelligent Systems JF - American Journal of Robotics and Intelligent Systems JO - American Journal of Robotics and Intelligent Systems SP - 73 EP - 83 PB - Science Publishing Group SN - 3142-8673 UR - https://doi.org/10.11648/j.ajris.20260103.11 AB - Soil fertility is a crucial aspect of agricultural productivity and sustainability, determines the soil's capacity to provide essential nutrients necessary for plant growth and development. This study focuses on the analysis and prediction of soil fertility using ensemble learning techniques in the South Gondar Zone. By examining various soil parameters, including macro and micronutrients, soil structure, pH, and organic matter content, the research aims to develop predictive models that accurately assess soil fertility levels. The objective of this study is to analyze and predict soil fertility using machine learning techniques, specifically targeting the south Gondar Zone, in the Amhara region of Ethiopia. The dataset for this study comprises 20,168 instances, including both fertile and non-fertile samples, with 17 selected attributes. Several machine learning models were evaluated on both the original and SMOTE-balanced datasets. The models included Random Forest, AdaBoost, and XGBoost classifiers. I applied Random Forest classifier consistently demonstrated the highest performance, with testing accuracies of 94.55% on the original dataset and 94.37% on the SMOTE-balanced dataset. AdaBoost also showed strong performance, achieving testing accuracies of 94.6% and 94.31% on the original and SMOTE-balanced datasets, respectively. XGBoost performed well but was slightly less accurate compared to the ensemble methods. However, XGBoost showed robust performance on both datasets, with testing accuracies of 94.04% and 94.27%. Feature importance analysis using the Random Forest classifier has shown that factors such as Clay, CEC, CaCO3, Sand, and Mn significantly impact soil fertility prediction. as a conclusion Random Forest classifier, an ensemble-based learning technique, was the most reliable and accurate model for predicting soil fertility. These results highlight the importance of specific soil properties in determining fertility and can guide targeted soil management practices to improve agricultural productivity. VL - 1 IS - 3 ER -