Forecasting Rainfall in Selected Cities of Southwest Nigeria: A Comparative Study of Random Forest and Long Short-Term Memory Models

Journal Title: Acadlore Transactions on Geosciences - Year 2024, Vol 3, Issue 2

Abstract

Rainfall is crucial for agricultural practices, and climate change has significantly altered rainfall patterns. Understanding the dynamic nature of rainfall in the context of climate change through Machine Learning (ML) and Deep Learning (DL) algorithms is essential for ensuring food security. ML techniques provide tools for processing large-scale data to extract meaningful insights. This study aims to compare the performance of a ML algorithm, Random Forest (RF), with a DL algorithm, Long Short-Term Memory (LSTM), in predicting rainfall in six state capitals in Southwest Nigeria: Osogbo, Ikeja, Ibadan, Akure, Ado-Ekiti, and Abeokuta. The dataset for this study was sourced from the HelioClim website archive, which offers high-quality solar radiation and meteorological data derived from satellite measurements. This archive is known for its accuracy and reliability, providing extensive and consistent historical datasets for various applications. The monthly rainfall data spanning from January 1, 1980, to December 31, 2022, were used, with 80% allocated for training and 20% for validation. As the data are time series, each model was constructed using a look-back period of five months, meaning the past five months' rainfall data served as input features. The performance of these algorithms was evaluated using Mean Square Error (MSE), Root Mean Square Error (RMSE), and Mean Absolute Error (MAE). The results indicated that the RF algorithm yielded the lowest MSE, RMSE, and MAE across all selected cities in Southwest Nigeria. This study demonstrated the superiority of RF regression over LSTM in predicting rainfall in these regions, providing a valuable tool for agricultural planning and climate adaptation strategies.

Authors and Affiliations

Timothy Kayode Samson, Francis Olatunbosun Aweda

Keywords

Related Articles

Assessing the Seismic Resilience of a Reinforced Concrete Bridge in Sibu, Sarawak: A Finite Element Analysis Approach

In the realm of civil engineering and structural analysis, the seismic resilience of infrastructure remains a critical area of research. This study delineates the seismic response assessment of a reinforced concrete brid...

Geoelectrical Characterization of Subsurface Structures in Dala Hill, Kano, Nigeria: A Comparative Study with Ground Magnetic Data

A geoelectrical imaging survey, employing resistivity and induced polarization (IP) methodologies, was executed on Dala Hill, Kano, Nigeria, positioned between latitudes 12.008611°N and 12.009722°N, and longitudes 8.5058...

Quantifying Plastic Waste and Microplastic Contamination in African Aquatic Systems: An Imperative for Sustainable Waste Management

Escalating issues pertaining to the disposal of plastic waste have emerged as an alarming global concern, underscored by the environmental infiltration of fragmented plastic materials into terrestrial, aquatic, and atmos...

Forecasting Rainfall in Selected Cities of Southwest Nigeria: A Comparative Study of Random Forest and Long Short-Term Memory Models

Rainfall is crucial for agricultural practices, and climate change has significantly altered rainfall patterns. Understanding the dynamic nature of rainfall in the context of climate change through Machine Learning (ML)...

Progressive Failure Characteristics and Failure Symptoms of Straight-Walled Arched Sandstone Tunnels

In order to investigate the development process of crack formation in shallow-buried sandstone tunnel, biaxial compression tests were conducted on a similar model of the real straight-walled arched sandstone tunnel. The...

Download PDF file
  • EP ID EP752407
  • DOI 10.56578/atg030202
  • Views 44
  • Downloads 0

How To Cite

Timothy Kayode Samson, Francis Olatunbosun Aweda (2024). Forecasting Rainfall in Selected Cities of Southwest Nigeria: A Comparative Study of Random Forest and Long Short-Term Memory Models. Acadlore Transactions on Geosciences, 3(2), -. https://europub.co.uk/articles/-A-752407