Journal article · 2025 · Open access
Development of a machine learning model for precipitation forecasting in Kenya
Global Journal of Engineering and Technology Advances, 24(3), 043–050 · Published 6 September 2025 · DOI 10.30574/gjeta.2025.24.3.0261
In brief
“Development of a machine learning model for precipitation forecasting in Kenya” is a 2025 journal article by Damaris Muthoki Mulinge and 3 co-authors, published in Global Journal of Engineering and Technology Advances. OpenAlex counts 1 citations as of 20 November 2026. It is open access under a CC BY licence: the full text is free to read at Global Journal of Engineering and Technology Advances.
- Citations
- 1
- Most cited in
- 2026 (1)
- Field-weighted impact
- 0.20
- References
- 15
- Authors
- 4
Abstract
Accurate precipitation forecasting is important for mitigating the impacts of climate variability in Kenya, where erratic rainfall events considerably affect agriculture, water control and disaster preparedness. Traditional methods such as ARIMA (Autoregressive Integrated Moving Average) and NWP (Numerical Weather Prediction) have shown to struggle with complex weather patterns due to linearity assumptions, high computational demands and limited spatial resolution. This research develops and evaluates an XGBoost-based machine learning model to enhance precipitation predictions both long-term and short-term. Utilizing a a 20-year weather dataset (2004 - 2024) with 7300 daily data records sourced from online Visual Crossing Weather Data, key features include temperature, humidity, wind speed, lagged precipitation (1-7), rolling means and seasonal encoding to capture bimodal rainfall patterns of the months of march-May, and October-December. Data processing involved min-max normalization of 0-1 range, feature selection, sin/cosine transformations for seasonal patterns and temperature-humidity interactions for connective modelling processes. The dataset used was split with 80% for training and 20% for testing and a temporal split ≤ 2020 for training and > 2020 for testing maintaining the chronological data order. The initial attempts exhibited poor performance with low R2 = 0.066 and a high RMSE=1.06 hence leading to XGBoost binary classification shift to predict the likelihood of rain/no-rain tomorrow. Bayesian optimization and GridSearchCV hyperparameter tuning was applied with default 0.5 threshold adjustment for improved rain class sensitivity using classification metrics and resulted 76.76% accuracy, 70.14% precision, 33.36% recall, 45.12% F1-Score and ROC-AUC 0.75. Post-tuning accuracy by reducing the threshold to 0.3 to capture missed rainfall events: 73% accuracy, no-rain precision and recall 81%, 53% rain precision, 54% recall, F1-Score 54%. Temperature-humidity interaction as the top predictor in feature importance. The results contribute to improved precipitation prediction accuracy hence supporting decision making in agriculture, water resource management and early disaster preparedness in Kenya’s climate vulnerable regions.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Mulinge, D. M., Kihoro, J. M., Madila, S. S., & Angolo, S. M. (2025). Development of a machine learning model for precipitation forecasting in Kenya. Global Journal of Engineering and Technology Advances, 24(3), 043–050. https://doi.org/10.30574/gjeta.2025.24.3.0261
MLA 9
Mulinge, Damaris Muthoki, et al. “Development of a machine learning model for precipitation forecasting in Kenya.” Global Journal of Engineering and Technology Advances, vol. 24, no. 3, 2025, pp. 043–050. https://doi.org/10.30574/gjeta.2025.24.3.0261.
Chicago
Mulinge, Damaris Muthoki, John Mwaniki Kihoro, Shadrack Stephen Madila, and Shem Mbandu Angolo. 2025. “Development of a machine learning model for precipitation forecasting in Kenya.” Global Journal of Engineering and Technology Advances 24 (3): 043–050. https://doi.org/10.30574/gjeta.2025.24.3.0261.
Harvard
Mulinge, D. M. et al. (2025) ‘Development of a machine learning model for precipitation forecasting in Kenya’, Global Journal of Engineering and Technology Advances, 24(3), pp. 043–050. doi:10.30574/gjeta.2025.24.3.0261.
IEEE
D. M. Mulinge, J. M. Kihoro, S. S. Madila, and S. M. Angolo, “Development of a machine learning model for precipitation forecasting in Kenya,” Global Journal of Engineering and Technology Advances, vol. 24, no. 3, pp. 043–050, 2025, doi: 10.30574/gjeta.2025.24.3.0261.
BibTeX
@article{mulinge2025development,
title = {{Development of a machine learning model for precipitation forecasting in Kenya}},
author = {Mulinge, Damaris Muthoki and Kihoro, John Mwaniki and Madila, Shadrack Stephen and Angolo, Shem Mbandu},
journal = {Global Journal of Engineering and Technology Advances},
year = {2025},
volume = {24},
number = {3},
pages = {043--050},
doi = {10.30574/gjeta.2025.24.3.0261},
url = {https://doi.org/10.30574/gjeta.2025.24.3.0261}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Topic and keywords
Physical Sciences › Environmental Science › Environmental Engineering › Hydrological Forecasting Using AI
- precipitation forecasting
- XGBoost
- bimodal rainfall
- temperature-humidity interaction
- hyperparameter optimization
- climate variability
- agricultural water management
- disaster preparedness
Work with this paper
Most-cited papers in Environmental Science
- Biodiversity hotspots for conservation prioritiesNorman Myers, Russell A. Mittermeier, Cristina Goettsch Mittermeier and 2 more · Nature · 2000 · 32,720 citations
- The Tragedy of the CommonsGarrett Hardin · Science · 1968 · 26,194 citations
- River flow forecasting through conceptual models part I — A discussion of principlesJ.E. Nash, John V. Sutcliffe · Journal of Hydrology · 1970 · 24,625 citations
- The value of the world's ecosystem services and natural capitalRobert Costanza, Ralph C. d’Arge, R.S. de Groot and 10 more · Nature · 1997 · 23,508 citations
- Climate change 2007: the physical science basisSusan Solomon, Dahe Qin, Martin Manning and 5 more · 2007 · 23,383 citations
Questions about this paper
How do I cite this paper in APA style?
Mulinge, D. M., Kihoro, J. M., Madila, S. S., & Angolo, S. M. (2025). Development of a machine learning model for precipitation forecasting in Kenya. Global Journal of Engineering and Technology Advances, 24(3), 043–050. https://doi.org/10.30574/gjeta.2025.24.3.0261
How many times has this paper been cited?
1 times, according to OpenAlex on 20 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at Global Journal of Engineering and Technology Advances: sign in and open the PDF from this page.
Who wrote this paper?
Damaris Muthoki Mulinge, John Mwaniki Kihoro, Shadrack Stephen Madila, Shem Mbandu Angolo.
What is the DOI of this paper?
10.30574/gjeta.2025.24.3.0261, permanently at https://doi.org/10.30574/gjeta.2025.24.3.0261. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 20 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.