Oct 16 – 18, 2025
Africa/Casablanca timezone
CLIMATE SOLUTIONS FOR A SUSTAINABLE FUTURE

A Hybrid Machine Learning Approach for Analyzing and Predicting Rainfall and Drought Variability in the Souss-Massa Basin, Morocco

Oct 16, 2025, 5:25 PM
10m
Dar Souiri

Dar Souiri

In-person oral presentation Climate Data, Risks and Impacts Session 2 : Climate Data, Risks and Impacts

Speaker

Sihame HAFIDI (Laboratory of Water Sciences, Microbial Biotechnologies, and Natural Resources Sustainability (AQUABIOTECH) Geosciences, Faculty of Sciences Semlalia, Cadi Ayyad University, Marrakech, Morocco)

Description

The Souss-Massa basin, located south of the High Atlas Mountains, is a semi-arid region highly exposed to climate variability and extreme drought events. This study proposes an integrated, data-driven framework that combines multivariate statistical analysis and machine learning to analyze spatio-temporal precipitation patterns (1940–2023) and predict drought risk under future climate scenarios.
Principal Component Analysis (PCA) was employed to extract dominant rainfall patterns and reduce dimensionality, while the Standardized Precipitation Index (SPI) was used to quantify drought severity at multiple time scales. A Partial Least Squares (PLS) regression model demonstrated high predictive performance, showing strong agreement with historical drought events (R² = 0.99; RMSE = 0.039).
To enhance robustness and capture potential non-linear relationships, a Random Forest Regression model was also tested. All analyses were conducted using Python on Google Colab, ensuring reproducibility and scalability. The combined approach offers practical insights to support water resource management, drought risk mitigation, and climate change adaptation in vulnerable arid regions.

Primary authors

Sihame HAFIDI (Laboratory of Water Sciences, Microbial Biotechnologies, and Natural Resources Sustainability (AQUABIOTECH) Geosciences, Faculty of Sciences Semlalia, Cadi Ayyad University, Marrakech, Morocco) Prof. Mohamed ETTAKI (Laboratory of Water Sciences, Microbial Biotechnologies, and Natural Resources Sustainability (AQUABIOTECH) Geosciences, Faculty of Sciences Semlalia, Cadi Ayyad University, Marrakech, Morocco) Toufik TAGMA (Laboratoire Data4 Earth, Faculty of Sciences and Technologies, Sultan Moulay Slimane University, Beni Mellal, Morocco) Brahim BOUDAD (Laboratory of Water Sciences, Microbial Biotechnologies, and Natural Resources Sustainability (AQUABIOTECH) Geosciences, Faculty of Sciences Semlalia, Cadi Ayyad University, Marrakech, Morocco)

Presentation materials