Mathematical Formulation and Comparative Performance Evaluation of Machine Learning Algorithms for Maize Land Suitability Prediction
Organizations: Department of Information Technology, Injibara University, Ethiopia · Department of Computer Science, Injibara University, Ethiopia · Department of Mathematics, Injibara University,Ethiopia · Department of Information Science, Injibara University,Ethiopia
Abstract
Addressing the food needs of a growing population is one of the major challenges of developing countries like Ethiopia. Various policies aimed at increasing food production have been enacted by governments and development partners. Although efforts in this regard have been made, there is still inadequate emphasis on increasing food production through the use of high technology practices. Precision agriculture using technology has been utilized to increase crop yield. Precision agriculture also relies on identifying land for a crop, which is a key factor that affects crop yield. Traditional methods of assessing land suitability for crop production are time-consuming, costly and unreliable. Against this background, the aim of this study was to assess the potential of machine learning (ML) in improving the speed and accuracy of assessing land suitability for maize, a staple crop in Ethiopia, as compared to traditional methods. The study is investigated in three areas (Burie, Shindi and Tilili) in the Amhara region. Data collection was done through the local agriculture offices and survey teams. The data were coded, scaled and balanced. Various feature extraction techniques, which included Univariate Feature Selection(UFS), Recursive Feature Elimination with Cross-Validation(RFECV) and Sequential Feature Selection(SFS), and various classifiers, which were K-nearest neighbor (KNN), gradient boosting (GB),random forest (RF) with mathematical formulations were employed. The best models were constructed through combining GBOOST and SFS and achieved an accuracy of 99.41% and 99.35% for both precision and recall. Our results showed that using machine learning is a reliable method of assessing land suitability for maize in Ethiopia. Keywords: Maize, Gradient boosting,Land suitability,Machine learning, Mathematical formulations
Figures & tables
| Reference | Focus | Approach & Key Result | Main Limitation |
|---|---|---|---|
| Komolafe et al. [ 7 ] | Cassava land suitability | 87.5% accuracy using SVM and DT | Small dataset; incomplete crop–need mapping |
| Senagi et al. [ 8 ] | Sorghum land suitability | RF among other classifiers; 96% under 10-fold CV | Missing N and P features |
| Sarmadian et al. [ 9 ] | Rainfed agriculture | RMSE , using SVM regression | Binary classification; no feature selection |
| Bhimanpallewar & Narasingrao [ 10 ] | Crop-specific suitability | 98.9% accuracy using DT | Weak validation; unclear data provenance |
| Ogunde et al. [ 11 ] | Cassava soil suitability | 76.5% accuracy using DT in a web-based DSS | Ignored climate and topography |
| Tashayo et al. [ 21 ] | Maize in semi-arid Iran | Moderate accuracy using GIS-AHP | No ML; limited validation |
| Criteria | HS1 | MS2 | MarS3 | currN1 | PerN2 |
| Depth (cm) | 50–75 | 30–50 | 20–30 | ||
| Texture | L SiL, SCL | SL, CL, SiCL . Ls, SC | C, SiC | – | |
| pH | 6.0–7.5 | 5.5–6.0 7.5–7.8 | 5.2–5.5 7.8–8.0 | 5.0–5.2 8.0–8.5 | |
| OM (%) | 2.5–3.0 | 2.0–2.5 | 1.0–2.0 | ||
| Slope (%) | 0–8 | 8–16 | 16–30 | 30–60 | |
| Temp (°C) | 20–28 | 18–20 28–30 | 15–18 30–33 | 12–15 33–35 |
| No | Symbol | Feature | Type | Description |
|---|---|---|---|---|
| 1 | Soil texture | Soil texture class | Nominal | Relative proportions of sand, silt, and clay |
| 2 | Mean-min temp | Mean minimum temperature | Number | Mean minimum temperature ( ∘ C) |
| 3 | Mean-max temp | Mean maximum temperature | Number | Mean maximum temperature ( ∘ C) |
| 4 | Annual rainfall | Annual rainfall | Number | Annual rainfall (mm) |
| 5 | Soil depth | Soil depth | Number | Soil depth (cm) |
| 6 | Slope | Slope | Number | Topographic slope (%) |
| Feature | No. of missing | Missing (%) |
|---|---|---|
| Rainfall | 46 | 1.314 |
| Min_mean_temp | 8 | 0.228 |
| Max_mean_temp | 2 | 0.057 |
| Depth | 2 | 0.057 |
| Min_slope | 1 | 0.029 |
| Max_slope | 4 | 0.114 |
| Model | Chosen by UFS | Chosen by RFECV | Chosen by SFS |
|---|---|---|---|
| RF | Annual rainfall depth, K, texture mean-min temp max slope, min slope, CEC T_N mean-max temp, O_M, Av_P | Mean-min temp mean-max temp, texture, annual rainfall, depth, pH, K, O_M, EC T_N, Av_P, sodicity | Mean-min temp texture, annual rainfall, depth, EC mean-max temp, CEC, sodicity |
| GB | Annual rainfall depth, K, Av_P, EC, texture mean-min temp max slope, min slope, CEC T_N pH mean-max temp, O_M | Annual rainfall depth, EC, K, O_M, texture | Texture mean-min temp mean-max temp annual rainfall, depth, max slope, K, EC, Av_P |
| KNN | Annual rainfall depth, K, Av_P, EC, texture mean-min temp max slope, min slope, CEC T_N pH mean-max temp, O_M | Not applicable | Annual rainfall EC, K T_N, O_M texture |
| Model | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th | 10th | Acc. (%) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| RF | 99.00 | 99.00 | 99.50 | 99.50 | 98.50 | 99.00 | 98.01 | 99.49 | 97.51 | 98.01 | 98.75 |
| GB | 99.00 | 99.00 | 99.00 | 99.99 | 99.99 | 99.00 | 98.50 | 98.50 | 97.51 | 99.49 | 99.00 |
| KNN | 98.02 | 96.54 | 96.54 | 96.05 | 97.02 | 97.02 | 95.53 | 98.01 | 94.54 | 98.01 | 96.73 |
| Model | Precision (%) | Recall (%) | F1-score (%) |
|---|---|---|---|
| RF | 98.56 | 98.69 | 98.60 |
| GB | 98.99 | 98.89 | 98.92 |
| KNN | 96.29 | 96.39 | 96.29 |
| Model | Accuracy (%) | Precision (%) | Recall (%) | F1 (%) |
|---|---|---|---|---|
| KNN without normalisation | 96.74 | 96.30 | 96.40 | 96.30 |
| KNN with normalisation | 93.87 | 93.70 | 93.76 | 94.10 |
| Parameters | Max depth | Criterion | Bootstrap | Max feat. | Min split | |
|---|---|---|---|---|---|---|
| Value | 1190 | 14 | entropy | True | auto | 2 |
| Parameters | Max depth | Criterion | Min leaf | Min split | |
|---|---|---|---|---|---|
| Values | 490 | 11 | mse | 4 | 5 |
| Parameter | Weights | Metric | |
| Values | distance | 6 | Manhattan |
| Title | Algorithm | Feature selection | Target class | Accuracy |
|---|---|---|---|---|
| Cassava suitability [ 7 ] | SVM & DT | Information gain | Five class | DT 87.5% |
| Sorghum suitability [ 8 ] | RF, LR, LDA, KNN, GNB, SVM | None | Four class | RF 96% |
| Rainfed agriculture [ 9 ] | SVM | None | Binary class | RMSE 3.72; 0.84 |
| Crop-specific suitability [ 10 ] | DT | None | Five class | DT 98.9% |
| Cassava soil suitability [ 11 ] | DT | None | Four class | DT 76.5% |
| GIS-AHP maize [ 21 ] | GIS-AHP | None | Five class | Moderate |
Precision Agriculture
Precision agriculture uses spatial and temporal data, sensors, AI, and robotics to tailor crop monitoring and farm inputs to local conditions.
See all 68 papers