journal article·2026-07-30

Machine Learning Classification of High-Turbidity Exceedance Using Water Quality and Meteorological Predictors

Saleh H. Alhathloul, Yazeed Algurainy

Applied Sciences· Volume 16· Issue 15
Publisher page

Abstract

High-turbidity exceedance events are important indicators of abnormal coastal water quality conditions, but their relatively low frequency compared with normal observations makes reliable classification challenging. This study developed a scenario-based machine learning framework to classify high-turbidity exceedance using water quality and meteorological predictors from an automated seawater monitoring station along the Arabian Gulf. After quality control screening and temporal matching with NASA POWER meteorological variables, turbidity was converted into a binary target using a 2 NTU threshold, resulting in 4408 low-turbidity observations (85.3%) and 758 high-turbidity observations (14.7%). Four predictor scenarios were evaluated: meteorological-only selected variables, combined selected variables, water-quality-only all variables, and combined all variables. Random Forest, XGBoost, a Support Vector Machine, and K-Nearest Neighbors were tested under three class-imbalance treatments: undersampling, oversampling, and SMOTE. The meteorological-only scenario showed moderate classification ability, with ROC-AUC values of 0.81–0.86, but relatively low precision, indicating limited control of false alarms. Adding water quality predictors substantially improved classification performance, with the combined selected-variable scenario achieving ROC-AUC values of 0.96–0.98. Under oversampling, Random Forest achieved an accuracy = 0.95, precision = 0.83, specificity = 0.97, weighted F1-score = 0.95, and ROC-AUC = 0.98. The water-quality-only scenario also performed strongly, with accuracy values of 0.90–0.95 and ROC-AUC values of 0.95–0.96, confirming that direct water quality measurements carried most of the predictive signal. The combined all-variable scenario produced similarly high performance, with ROC-AUC values of 0.96–0.98, while variable selection reduced redundancy without loss of predictive skill. Computational analysis showed that the top-ranked XGBoost model under the combined all-variable oversampling scenario required only 0.08 s for training and 0.003 ms per sample for prediction. Overall, the results demonstrate that integrating selected water quality and meteorological predictors provides an accurate, efficient, and operationally practical framework for high-turbidity early-warning classification.
Source: crossref · Quality: baseline

Affiliations

Department of Civil Engineering, College of Engineering, King Saud University, P.O. Box 800, Riyadh 11421, Saudi Arabia

Funding

King Saud University

References (64)

Show source-provided references
1. Understanding the Influence of Suspended Solids on Water Quality and Aquatic Biota10.1016/j.watres.2008.03.018 ↗
2. Turbidity Suspended Sediment, and Water Clarity: A Review10.1111/j.1752-1688.2001.tb03624.x ↗
3. Gholizadeh, M.H., Melesse, A.M., and Reddi, L. (2016). A Comprehensive Review on Water Quality Parameters Estimation Using Remote Sensing Techniques. Sensors, 16.10.3390/s16081298 ↗
4. Water Quality Monitoring Strategies—A Review and Future Perspectives10.1016/j.scitotenv.2016.06.235 ↗
5. Effects of Sedimentation and Turbidity on Lotic Food Webs: A Concise Review for Natural Resource Managers10.1080/10641260091129198 ↗
6. Drinking Water Treatment Processes for Removal of Cryptosporidium and Giardia10.1016/j.vetpar.2004.09.002 ↗
7. Inactivation Credit of UV Radiation for Viruses, Bacteria and Protozoan (Oo)Cysts in Water: A Review10.1016/j.watres.2005.10.030 ↗
8. Abushawish, A., Bouaziz, I., Almanassra, I.W., AL-Rajabi, M.M., Jaber, L., Khalil, A.K.A., Takriff, M.S., Laoui, T., Shanableh, A., and Atieh, M.A. (2023). Desalination Pretreatment Technologies: Current Status and Future Developments. Water, 15.10.3390/w15081572 ↗
9. Towards Environmental Management of Water Turbidity within Open Coastal Waters of the Great Barrier Reef10.1016/j.marpolbul.2013.07.026 ↗
10. Machine Learning Based Marine Water Quality Prediction for Coastal Hydro-Environment Management10.1016/j.jenvman.2021.112051 ↗
11. Long-Term Water Quality Assessment in Coastal and Inland Waters: An Ensemble Machine-Learning Approach Using Satellite Data10.1016/j.marpolbul.2024.117036 ↗
12. Nasapower: A NASA POWER Global Meteorology, Surface Solar Energy and Climatology Data Client for R10.21105/joss.01035 ↗
13. Kong, Y., Jimenez, K., Lee, C.M., Winter, S., Summers-Evans, J., Cao, A., Menczer, M., Han, R., Mills, C., and McCarthy, S. (2025). Monitoring Coastal Water Turbidity Using Sentinel2—A Case Study in Los Angeles. Remote Sens., 17.10.3390/rs17020201 ↗
14. A Review of Remote Sensing-Based Water Quality Monitoring in Turbid Coastal Waters10.1007/s44295-025-00075-2 ↗
15. Application of Remote Sensing Technology in Water Quality Monitoring: From Traditional Approaches to Artificial Intelligence10.1016/j.watres.2024.122546 ↗
16. Mohan, S., Kumar, B., and Nejadhashemi, A.P. (2025). Integration of Machine Learning and Remote Sensing for Water Quality Monitoring and Prediction: A Review. Sustainability, 17.10.3390/su17030998 ↗
17. An Introduction to ROC Analysis10.1016/j.patrec.2005.10.010 ↗
18. Saito, T., and Rehmsmeier, M. (2015). The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets. PLoS ONE, 10.10.1371/journal.pone.0118432 ↗
19. A Review of Machine Learning and Internet-of-Things on the Water Quality Assessment: Methods, Applications and Future Trends10.1016/j.rineng.2025.105182 ↗
20. Yan, X., Zhang, T., Du, W., Meng, Q., Xu, X., and Zhao, X. (2024). A Comprehensive Review of Machine Learning for Water Quality Prediction over the Past Five Years. J. Mar. Sci. Eng., 12.10.3390/jmse12010159 ↗
21. A Review of the Application of Machine Learning in Water Quality Evaluation10.1016/j.eehl.2022.06.001 ↗
22. Deep Learning-Based Remote Sensing Retrieval of Inland Water Quality: A Review
23. Machine Learning Approach to Predict the Turbidity of Saki Lake, Telangana, India, Using Remote Sensing Data10.1016/j.measen.2024.101139 ↗
24. Kwarko-Kyei, J., Tornyeviadzi, H.M., and Seidu, R. (2025). A Machine Learning Approach to Predicting the Turbidity from Filters in a Water Treatment Plant. Water, 17.10.3390/w17202938 ↗
25. Random Forests10.1023/A:1010933404324 ↗
26. Chen, T., and Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016, ACM.10.1145/2939672.2939785 ↗
27. Support-Vector Networks10.1023/A:1022627411411 ↗
28. Nearest Neighbor Pattern Classification10.1109/TIT.1967.1053964 ↗
29. Learning from Imbalanced Data10.1109/TKDE.2008.239 ↗
30. A Survey of Predictive Modeling on Imbalanced Domains
31. Fernández, A., García, S., Galar, M., Prati, R.C., Krawczyk, B., and Herrera, F. (2018). Learning from Imbalanced Data Sets, Springer International Publishing.10.1007/978-3-319-98074-4 ↗
32. The Modern-Era Retrospective Analysis for Research and Applications, Version 2 (MERRA-2)10.1175/JCLI-D-16-0758.1 ↗
33. A Theoretical Distribution Analysis of Synthetic Minority Oversampling Technique (SMOTE) for Imbalanced Learning10.1007/s10994-022-06296-4 ↗
34. Yang, Y., Khorshidi, H.A., and Aickelin, U. (2024). A Review on Over-Sampling Techniques in Classification of Multi-Class Imbalanced Datasets: Insights for Medical Problems. Front. Digit. Health, 6.10.3389/fdgth.2024.1430245 ↗
35. Hastie, T., Tibshirani, R., and Friedman, J. (2009). The Elements of Statistical Learning, Springer. Springer Series in Statistics.10.1007/978-0-387-84858-7 ↗
36. Building Predictive Models in R Using the Caret Package10.18637/jss.v028.i05 ↗
37. Kuhn, M., and Johnson, K. (2013). Applied Predictive Modeling, Springer.10.1007/978-1-4614-6849-3 ↗
38. Assessment of NASA/POWER Satellite-Based Weather System for Brazilian Conditions and Its Impact on Sugarcane Yield Simulation10.1002/joc.5282 ↗
39. Rodrigues, G.C., and Braga, R.P. (2021). Evaluation of NASA POWER Reanalysis Products to Estimate Daily Weather Variables in a Hot Summer Mediterranean Climate. Agronomy, 11.10.3390/agronomy11061207 ↗
40. Development of Standards for Assessing Water Quality in Marine Coastal Waters of Bahrain10.1016/j.marpolbul.2023.115560 ↗
41. Remotely Sensed Water Quality in Qatari Coastal Waters Between 2002 and 202210.1109/JSTARS.2024.3454092 ↗
42. Investigation of Water Quality in the Shallow Coastal Waters of the Persian Gulf10.1016/j.marpolbul.2024.117263 ↗
43. Albanai, J. (2024). Determining Seasonal Spatial and Temporal Distribution of Chlorophyll-a, and Its Concentration in Kuwait and the Arabian Gulf Using Satellite and In-Situ Data. Trans. Marit. Sci., 13.10.7225/toms.v13.n02.016 ↗
44. Ahmed, N., Mohammad, A., Knuteson, S.L., and Samara, F. (2025). Evaluating Temporal Changes in Water Quality Due to Urbanization: A Multi-Year Observational Study in Khalid Khor, Sharjah, UAE. Front. Mar. Sci., 12.10.3389/fmars.2025.1538897 ↗
45. Al-Mur, B.A. (2024). Environmental Assessment Using Phytoplankton Diversity, Nutrients, Chlorophyll-a, and Trophic Status Along Southern Coast of Jeddah, Red Sea. J. Mar. Sci. Eng., 13.10.3390/jmse13010029 ↗
46. Shafeeque, M., Saleem, A.A., Chaitanya, A.V.S., Abdulla, C.P., Lateef, S., and Albert, J. (2025). Chlorophyll-a Modulation in the Arabian Gulf Using Two Decades of Merged Ocean-Color Data. Front. Mar. Sci., 12.10.3389/fmars.2025.1619821 ↗
47. Ibrahim, A., Alkarbi, N., Alsaadi, M., Almazrouei, A., Alshamsi, S., and Hamouda, M.A. (2026). Satellite-Based Machine Learning Models for Chlorophyll-a and TSS Retrieval in Abu Dhabi’s Coastal Waters. Front. Mar. Sci., 13.10.3389/fmars.2026.1787597 ↗
48. Algurainy, Y., Refaat, A., and Alrehaili, O. (2025). Developing Insights into Pretreatment Optimization: Effects of Eliminating Lime and Soda Ash in Groundwater RO Desalination. Water, 17.10.3390/w17223186 ↗
49. Alhathloul, S.H., and Algurainy, Y. (2026). Wavelet-Enhanced Machine Learning for Seawater Alkalinity Prediction in the Arabian Gulf Using Monitored Water-Quality Variables. Water, 18.10.3390/w18131578 ↗
50. Wattelez, G., Dupouy, C., Lefèvre, J., Ouillon, S., Fernandez, J.-M., and Juillot, F. (2017). Application of the Support Vector Regression Method for Turbidity Assessment with MODIS on a Shallow Coral Reef Lagoon (Voh-Koné-Pouembout, New Caledonia). Water, 9.10.3390/w9100737 ↗
51. Petus, C., Waterhouse, J., Tracey, D., Wolanski, E., and Brodie, J. (2022). Using Optical Water-Type Classification in Data-Poor Water Quality Assessment: A Case Study in the Torres Strait. Remote Sens., 14.10.3390/rs14092212 ↗
52. Temporal Dynamics in Coral Bioindicators for Water Quality on Coastal Coral Reefs of the Great Barrier Reef10.1071/MF08016 ↗
53. SMOTE: Synthetic Minority Over-Sampling Technique10.1613/jair.953 ↗
54. Applying Oversampling before Cross-Validation Will Lead to High Bias in Radiomics10.1038/s41598-024-62585-z ↗
55. Note on Regression and Inheritance in the Case of Two Parents10.1098/rspl.1895.0041 ↗
56. A Random Forest Guided Tour10.1007/s11749-016-0481-7 ↗
57. An Introduction to Variable and Feature Selection
58. Collinearity: A Review of Methods to Deal with It and a Simulation Study Evaluating Their Performance10.1111/j.1600-0587.2012.07348.x ↗
59. Benchmark for Filter Methods for Feature Selection in High-Dimensional Classification Data10.1016/j.csda.2019.106839 ↗
60. A Survey on Feature Selection Methods10.1016/j.compeleceng.2013.11.024 ↗
61. Enhancing SMOTE for Imbalanced Data with Abnormal Minority Instances
62. Cross-Validation Strategies for Data with Temporal, Spatial, Hierarchical, or Phylogenetic Structure10.1111/ecog.02881 ↗
63. Deep Learning and Process Understanding for Data-Driven Earth System Science10.1038/s41586-019-0912-1 ↗
64. A Transdisciplinary Review of Deep Learning Research and Its Relevance for Water Resources Scientists10.1029/2018WR022643 ↗