Wavelet-Enhanced Machine Learning for Seawater Alkalinity Prediction in the Arabian Gulf Using Monitored Water-Quality Variables
Saleh H. Alhathloul, Yazeed Algurainy
King Saud University
Abstract
Continuous monitoring of seawater alkalinity is essential for maintaining chemical stability in coastal environments and supporting efficient operation of desalination and water-treatment systems; however, direct alkalinity measurements are often limited in temporal resolution. This study develops and evaluates a machine learning framework for estimating seawater alkalinity using quality-controlled daily and sub-daily water-quality observations collected from a coastal monitoring station along the Arabian Gulf coast of eastern Saudi Arabia during 2017–2023. Five machine learning models, Random Forest (RF), Gradient Boosting (GB), Extreme Gradient Boosting (XGB), Support Vector Regression (SVR), and K-Nearest Neighbors (KNN), are assessed under two configurations: a baseline setup relying on the original predictor variables and an enhanced setup incorporating wavelet-decomposed features to represent multiscale temporal variability. Model performance is evaluated using five-fold cross-validation and quantified using R2, root mean square error (RMSE), and mean absolute error (MAE). Under the baseline configuration, ensemble-based models outperform single-estimator and distance-based approaches, with RF achieving the best performance (R2 = 0.77, RMSE = 2.57 ppm, MAE = 1.71 ppm). The incorporation of wavelet-based feature enrichment leads to consistent performance improvements across all models, reflected by higher R2 values and reduced RMSE and MAE. The wavelet-enhanced RF model exhibits the strongest overall performance, attaining a mean R2 of approximately 0.91 together with an RMSE of about 1.6 ppm and an MAE of around 1.0 ppm, while also showing reduced variability across cross-validation folds. The XGB model shows notable improvement with wavelet enrichment, whereas SVR and KNN benefit mainly through moderate error reduction. Overall, the findings show that wavelet-based feature enrichment improves the accuracy and stability of ML models for seawater alkalinity estimation, with RF providing the most reliable performance for coastal monitoring applications.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Machine learning-integrated hydrogeochemical and spatial modeling of groundwater quality indices for seawater intrusion and irrigation sustainability in coastal agroecosystems of Skhirat Region, MoroccoJournal of Hydrology Regional Studies · 2025
- Machine Learning Optimization of SWRO Membrane Performance in Wave-Powered Desalination for Sustainable Water TreatmentWater · 2025
- Groundwater quality assessment for agricultural utilizing indexical and machine learning techniques in Ouled Djellal Aquifer, Southern AlgeriaScientific Reports · 2026
- Integrating CCME-WQI and Machine Learning for Groundwater Quality in the Sedrata PlainEcological Chemistry and Engineering S · 2026
- Machine Learning for Soft Sensing in Water Quality Monitoring: A Survey and TutorialJournal of Sensor and Actuator Networks · 2026
- A comprehensive analysis of retrieving optically inactive indicators from multi-level remote sensing product(s) in Irish waters using data science techniquesWater Research · 2026