Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Machine Learning Approaches to Rainfall Forecasting in Nigeria: A Comparative Study of RF, SVR, XGBoost, and DNN Models

Domain:

climateagriculture

Record type:

paper
Creator:
GbeIsmOluAyo
Publisher:
Soc
Host:
Rainfall prediction is critical for agricultural planning, water resource management, and disaster preparedness, particularly in regions vulnerable to climate variability. Traditional forecasting techniques often struggle to capture the non‑linear and complex dynamics of meteorological data. This study developed machine learning models to improve rainfall prediction using historical data obtained from the Nigerian Meteorological Agency, which includes climatic variables such as temperature, wind speed, humidity, and prior rainfall. After preprocessing and normalization, the dataset was divided into training (80%) and testing (20%) subsets. Four algorithms, such as Support Vector Regression (SVR), Extreme Gradient Boosting (XGBoost), Random Forest (RF), and Deep Neural Network (DNN), were implemented and evaluated using regression metrics such as R², Mean Squared Error, and Mean Absolute Error. The results show that RF and XGBoost achieved moderate accuracy, with R² values below 0.87. SVR performed better, reducing error significantly (MAE = 0.6839, MSE = 13.8717, R² = 0.893). The DNN model outperformed all others, achieving very low error (MAE = 0.2334, MSE = 0.1956) and near‑perfect accuracy (R² = 0.9985). These findings demonstrate the superior capacity of deep learning approaches to model complex rainfall patterns compared to traditional ensemble and regression methods, while SVR remains a reliable alternative. The study recommends that stakeholders in meteorology and agriculture adopt advanced machine learning models for improved decision‑making. Future research should incorporate high‑resolution satellite data and ground station records for hybrid modeling and employ techniques such as SHAP and LIME.

Visit

doi.org

Similar

A Comparative Study of Forecasting Electricity Consumption Using Machine Learning ModelsConventional time series, machine and deep learning approaches for rainfall forecasting in a bimodal climate in Embu County, Kenya: A comparative study of SARIMA, ANN, LSTM, CNN and hybrid modelsModeling and Forecasting Neonatal Mortality in Ethiopia: A Comparative Study Using Statistical, Machine Learning, and Deep Learning ApproachesEnhancing Food Inflation Rate Forecasting with a Hybrid ARIMA-XGBoost-SVR ModelMachine Learning Models in Climate Prediction and Adaptation Planning: A Comparative Study in Nigeria,Forecasting energy consumption in Mozambique: A comparative analysis of advanced machine learning models from 2025 to 2045

A Comparative Study of Forecasting Electricity Consumption Using Machine Learning Models

Production of electricity from the burning of fossil fuels has caused an increase in the emission of

Conventional time series, machine and deep learning approaches for rainfall forecasting in a bimodal climate in Embu County, Kenya: A comparative study of SARIMA, ANN, LSTM, CNN and hybrid models

Abstract Accurate rainfall forecasting is critical for agricultural planning, wate

Modeling and Forecasting Neonatal Mortality in Ethiopia: A Comparative Study Using Statistical, Machine Learning, and Deep Learning Approaches

Abstract Introduction: Ethiopia faces alarm

Enhancing Food Inflation Rate Forecasting with a Hybrid ARIMA-XGBoost-SVR Model

The data are monthly food inflation rates of six African countries: Nigeria, South Africa,

Machine Learning Models in Climate Prediction and Adaptation Planning: A Comparative Study in Nigeria,

Climate change poses significant challenges for adaptation planning in Nigeria, necessitati

Forecasting energy consumption in Mozambique: A comparative analysis of advanced machine learning models from 2025 to 2045

This research aims to provide a robust foundation for future energy infrastructure development and s