Published June 28, 2000 | Version v1

Machine Learning Models for Climate Prediction and Adaptation in Uganda Context

  • 1. Gulu University

Description

Climate change poses significant challenges for agricultural productivity in Uganda, where smallholder farmers are particularly vulnerable to unpredictable weather patterns. A comparative analysis was conducted using Random Forest and Support Vector Machine (SVM) models for climate prediction in Uganda's AEZs. Model performance was evaluated based on Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and R-squared values. Data from the National Agricultural Information Service (NAIS) were used, covering a period of 20 years. Random Forest models exhibited lower MAE (1.5%) compared to SVM (3.0%), indicating superior predictive accuracy for climate conditions in AEZs. The study identified maize suitability zones based on soil moisture availability and rainfall patterns. The Random Forest model outperformed the SVM, demonstrating its potential as a robust tool for climate prediction and adaptation planning in Uganda's agricultural context. Further research should explore the integration of machine learning models with socio-economic data to inform farmers' decision-making processes. Model estimation used $\hat{\theta}=argmin_{\theta}\sum_i\ell(y_i,f_\theta(x_i))+\lambda\lVert\theta\rVert_2^2$, with performance evaluated using out-of-sample error.

Files

zenodo.18721349.pdf

Files (99.5 kB)

Name Size
md5:e41a951141976af9da25ebe1d63c1357
17.1 kB Download
md5:5391f3001b0e859a113b8a2f6d8f099a
82.4 kB Preview Download