Aug 2026· African Scientific Reports· 0 citations· 13 references
TL;DR
An end-to-end rainfall prediction pipeline tailored to the Lagos environment is provided and the practical value of coupling ML with accessible deployment frameworks for climate decision-making in developing countries is demonstrated.
Abstract
Accurate rainfall prediction is critical for agricultural planning, flood-risk management, and urban infrastructure resilience, particularly in tropical coastal cities such as Lagos, Nigeria, where unpredictable rainfall events cause significant socioeconomic disruption. This study evaluates three machine learning (ML) classification models---logistic regression (LR), random forest (RF), and support vector machine (SVM)---for daily binary rainfall prediction using a 22-year meteorological dataset of 8,314 observations sourced from Visual Crossing. Two features were engineered from the raw data: daily temperature range and a seasonal indicator. To address the asymmetric cost of false negatives in a tropical rainfall context, Youden's J statistic was applied to optimise the decision threshold of each model, prioritising sensitivity over the conventional 0.5 default. RF achieved the strongest overall performance, recording an accuracy of 76.28%, sensitivity of 79.27%, F1-score of 76.44%, and area under the receiver operating characteristic curve (AUC-ROC) of 0.8454, outperforming SVM (AUC-ROC: 0.8215) and LR (AUC-ROC: 0.8001). Humidity, cloud cover, dew point, and visibility emerged as the most consistent predictors across models, while moon phase and wind speed showed negligible importance in all three classifiers. All three trained models were deployed in an interactive R Shiny web application, enabling non-technical users, including farmers, planners, and policymakers, to obtain real-time rainfall predictions from meteorological inputs. This study provides an end-to-end rainfall prediction pipeline tailored to the Lagos environment and demonstrates the practical value of coupling ML with accessible deployment frameworks for climate decision-making in developing countries.
Flood occurrence in tropical regions is intensifying due to climate variability and land-use change, increasing the need for reliable flood response time estimation. Accurate prediction of flood lag time (TL)—the interval between the centroid of excess rainfall and peak runoff—is critical for flood early warning and wa...
Dagnenet Sultan, N. Haregeweyn, M. Tsubo et al.· Water· 0 citations
Rainfall prediction with very high temporal resolution, such as ten-minute intervals, is of great urgency in urban flood mitigation, especially in densely populated areas such as South Tangerang. Most previous studies still focus on daily or monthly rainfall prediction, so this study attempts to fill this gap by compar...
Tri Nurmayati· JOURNAL OF APPLIED INFORMATI...· 0 citations
A data-driven flood prediction model by integrating logistic regression with machine learning techniques to improve early warning systems in Nigeria and demonstrates that combining statistical modeling with machine learning improves flood prediction reliability and supports disaster management decision-making.
D. Shobanke, Happiness I. Olatunde, E. O. Ajare· FUDMA Journal of Sciences· 0 citations
Accurate estimation of rainfall depths associated with standard return periods is fundamental for hydraulic design, flood risk assessment, and water resources management, particularly in arid regions. Statistical extreme value distributions have long been the standard approach for rainfall frequency analysis, whereas m...
This study investigates rainfall and temperature extremes across six agricultural blocks in the Cauvery Delta Zone (CDZ), Tiruchirappalli district, Tamil Nadu, using daily meteorological data from 1981 to 2023. A comprehensive set of climate indices—including Consecutive Dry Days (CDD), Consecutive Wet Days (CWD), Tota...
Easwaran S, Guhan Velusamy, Annadurai K et al.· Mausam· 0 citations
Estimating rainfall likelihood supports agriculture, irrigation planning, and local weather decision-making. This study evaluates ten regression-based machine learning models for next-day rain occurrence using 346 daily weather records from Kuantan, Pahang, Malaysia, covering 2025. Weather and lagged features were used...
N. Ahmad, Ameerah Muhsinah Binti Jamil, Nabilah Filzah Mohd Radzuan et al.· 2026 IEEE 1st International...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.