Hybrid Machine Learning Modelling for Rice Yield Forecasting under Climatic Variability in South Sudan

A Hybrid RF–XGBoost Framework for Rice Yield Forecasting under Climatic Variability in South Sudan

Authors

  • P. A. Kur Pan African University for Basic Sciences, Technology and Innovation, Nairobi, Kenya
  • A. Waititu Jomo Kenyatta University of Agriculture and Technology, Kenya
  • T. Makoni Great Zimbabwe University, Zimbabwe

DOI:

https://doi.org/10.63746/njtd.v23i1.4454

Keywords:

Climate variability, Hybrid ensemble, Machine learning, Random forest, Rice yield, XGBoost

Abstract

Improving the reliability of agricultural yield forecasting is essential for strengthening food security planning and agricultural policy in South Sudan, where rice yield remains highly sensitive to climatic variability and structural production constraints. This study evaluates classical statistical and ensemble-based machine learning models for forecasting national rice yield using key agronomic and climatic determinants, including cultivated land area, historical yield trends, rainfall, temperature, and soil pH. The empirical analysis is based on annual time-series data spanning nearly five decades (1961–2010). A supervised learning framework was implemented, with the dataset partitioned chronologically into training (n = 38) and testing (n = 10) subsets to enable disciplined out-of-sample validation. Four modelling approaches were examined: Multiple Linear Regression (MLR), Random Forest (RF), Extreme Gradient Boosting (XGBoost), and a Hybrid RF–XGBoost ensemble constructed through prediction aggregation. Model performance was evaluated using Root Mean Square Error (RMSE), Mean Absolute Error (MAE), coefficient of determination (R²), and Mean Absolute Percentage Error (MAPE), computed strictly on the reserved test dataset. Within the evaluated test sample (n = 10), all models exhibited strong correlation (R² > 0.91). While MLR achieved R² = 0.9128, it exhibited higher RMSE (295.60 kg/ha) and MAPE (31.75%) relative to ensemble approaches, suggesting reduced flexibility in modelling nonlinear yield responses within the evaluated test period. Random Forest improved error performance (R² = 0.9647; RMSE = 273.39 kg/ha; MAE = 227.13; MAPE = 28.26%), while XGBoost achieved R² = 0.9360 with RMSE = 289.25 kg/ha, MAE = 182.05, and MAPE = 30.59%. The Hybrid RF–XGBoost model attained the lowest RMSE (259.14 kg/ha), lowest MAE (174.29), lowest MAPE (26.91%), and highest R² (0.9725) within the test sample. Although improvements are moderate in magnitude, the findings suggest that hybrid ensemble aggregation can provide incremental gains in prediction accuracy under data-constrained conditions. Results are interpreted cautiously given the limited sample size. The study contributes an applied comparative assessment of forecasting approaches to support evidence-informed agricultural planning in fragile production environments.

References

Box, G.E.P., Jenkins, G.M., Reinsel, G.C. and Ljung, G.M. (2015). Time Series Analysis: Forecasting and Control. 5th ed. Hoboken: John Wiley & Sons.

Breiman, L. (2001). Random forests. Machine Learning, 45(1), pp. 5–32.

Chen, T. and Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785–794.

Dietterich, T.G. (2000). Ensemble methods in machine learning. In: Multiple Classifier Systems. Lecture Notes in Computer Science, vol. 1857, pp. 1–15.

FAO (2012). South Sudan: Agricultural Sector Review. Rome: Food and Agriculture Organization of the United Nations.

Godfray, H.C.J., Beddington, J.R., Crute, I.R., Haddad, L., Lawrence, D., Muir, J.F., Pretty, J., Robinson, S., Thomas, S.M. and Toulmin, C. (2010). Food security: The challenge of feeding 9 billion people. Science, 327(5967), pp. 812–818.

Gujarati, D.N. and Porter, D.C. (2009). Basic Econometrics. 5th ed. New York: McGraw-Hill.

Hastie, T., Tibshirani, R. and Friedman, J. (2009). The Elements of Statistical Learning: Data Mining, Inference, and Prediction. 2nd ed. New York: Springer.

Hyndman, R.J. and Koehler, A.B. (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, 22(4), pp. 679–688.

Jeong, J.H., Resop, J.P., Mueller, N.D., Fleisher, D.H., Yun, K., Butler, E.E., Timlin, D.J., Shim, K.M., Gerber, J.S. and Reddy, V.R. (2016). Random forests for global and regional crop yield predictions. PLoS ONE, 11(6), e0156571.

Intergovernmental Panel on Climate Change (IPCC). (2021). Climate change 2021: Impacts, adaptation and vulnerability. Contribution of Working Group II to the Sixth Assessment Report. Cambridge: Cambridge University Press.

Liakos, K.G., Busato, P., Moshou, D., Pearson, S. and Bochtis, D. (2018). Machine learning in agriculture: A review. Sensors, 18(8), 2674.

Lobell, D.B. and Burke, M.B. (2010). On the use of statistical models to predict crop yield responses to climate change. Agricultural and Forest Meteorology, 150(11), pp. 1443–1452

Published

2026-03-31

Similar Articles

You may also start an advanced similarity search for this article.