EXPLAINABLE MACHINE LEARNING FOR WATER QUALITY ASSESSMENT AND POLLUTION RISK PREDICTION: AN INTEGRATED APPROACH FOR SUSTAINABLE WATER RESOURCE MANAGEMENT

Main Article Content

Mr. Johny Lakra
Mandy D. David

Abstract

Water-quality degradation is an increasing problem for environmental sustainability and to achieve good water-resource management, new approaches are needed to predict water quality that are accurate and interpretable. In this study, an integrated explainable machine-learning Approach is developed for water-quality evaluation and water-pollution-risk prediction based on physicochemical, hydroclimatic, and spatial variables. The data-quality screening resulted in 1489 observations being analyzed. Different descriptive statistics, correlation analysis, regression modelling, classification modelling, and SHapley Additive exPlanations (SHAP) were used. Many water conditions were Very Poor with 94.22% of observations falling into that category. The strongest negative linear relationships were with the dissolved oxygen and the Water Quality Index (WQI); an important nonlinear relationship was found with the phosphate and the pH. The regression models with the highest WQI prediction performance were Gradient Boosting (R² = 0.9995, RMSE = 0.336, MAE = 0.136), followed by Random Forest and XGBoost. Gradient Boosting also generated the best results for the classification task, with a perfect balanced accuracy and macro-averaged performance for the held-out test set when it came to predicting pollution risk. The most important variables for the WQI were determined using SHAP analysis, which showed that phosphate was the most important, followed by pH, dissolved oxygen, turbidity, and nitrate. The results show that it is possible to achieve high prediction accuracy while simultaneously providing clear explanations of what causes pollution.


 


 

Downloads

Download data is not yet available.

Article Details

How to Cite
Mr. Johny Lakra, & Mandy D. David. (2026). EXPLAINABLE MACHINE LEARNING FOR WATER QUALITY ASSESSMENT AND POLLUTION RISK PREDICTION: AN INTEGRATED APPROACH FOR SUSTAINABLE WATER RESOURCE MANAGEMENT. IJRDO-Journal of Applied Science, 12(4), 40-52. https://doi.org/10.69980/as.v12i4.6812
Section
Articles

References

Adeleke, I. A., Nwulu, N. I., & Ogbolumani, O. A. (2023). A hybrid machine learning and embedded IoT-based water quality monitoring system. Internet of things, 22, 100774.
Aldrees, A., Khan, M., Taha, A. T. B., & Ali, M. (2024). Evaluation of water quality indexes with novel machine learning and SHapley Additive ExPlanation (SHAP) approaches. Journal of Water Process Engineering, 58, 104789.
Arzhangi, A., & Partani, S. (2026). Water quality index prediction via a robust machine learning model using oxygen-related indices for river water quality monitoring. Scientific Reports, 16(1), 6102.
Chatterjee, T., Gogoi, U. R., Samanta, A., Chatterjee, A., Singh, M. K., & Pasupuleti, S. (2024). Identifying the most discriminative parameter for water quality prediction using machine learning algorithms. Water, 16(3), 481.
Choudhary, R., Kumar, A., C, P., Naik, M. M., Choudhury, M., & Khan, N. A. (2025). Predicting water quality index using stacked ensemble regression and SHAP based explainable artificial intelligence. Scientific Reports, 15(1), 31139.
Derdour, A., Abdo, H. G., Almohamad, H., Alodah, A., Al Dughairi, A. A., Ghoneim, S. S., & Ali, E. (2023). Prediction of groundwater quality index using classification techniques in arid environments. Sustainability, 15(12), 9687.
Ding, F., Zhang, W., Cao, S., Hao, S., Chen, L., Xie, X., ... & Jiang, M. (2023). Optimization of water quality index models using machine learning approaches. Water research, 243, 120337.
Hassan, M. M., Hassan, M. M., Akter, L., Rahman, M. M., Zaman, S., Hasib, K. M., ... & Mollick, S. (2021). Efficient prediction of water quality index (WQI) using machine learning algorithms. Human-Centric Intelligent Systems, 1(3), 86-97.
Huang, S., Xia, J., Wang, Y., Lei, J., & Wang, G. (2024). Water quality prediction based on sparse dataset using enhanced machine learning. Environmental Science and Ecotechnology, 20, 100402.
Hussein, E. E., Jat Baloch, M. Y., Nigar, A., Abualkhair, H. F., Aldawood, F. K., & Tageldin, E. (2023). Machine learning algorithms for predicting the water quality index. Water, 15(20), 3540.
Jung, W. S., Kim, S. E., & Kim, Y. D. (2021). Prediction of surface water quality by artificial neural network model using probabilistic weather forecasting. Water, 13(17), 2392.
Lap, B. Q., Du Nguyen, H., Hang, P. T., Phi, N. Q., Hoang, V. T., Linh, P. G., & Hang, B. T. T. (2023). Predicting Water Quality Index (WQI) by feature selection and machine learning: A case study of An Kim Hai irrigation system. Ecological Informatics, 74, 101991.
Li, W., Zhao, Y., Zhu, Y., Dong, Z., Wang, F., & Huang, F. (2024). Research progress in water quality prediction based on deep learning technology: a review. Environmental Science and Pollution Research, 31(18), 26415-26431.
Makumbura, R. K., Mampitiya, L., Rathnayake, N., Meddage, D. P. P., Henna, S., Dang, T. L., ... & Rathnayake, U. (2024). Advancing water quality assessment and prediction using machine learning models, coupled with explainable artificial intelligence (XAI) techniques like shapley additive explanations (SHAP) for interpreting the black-box nature. Results in Engineering, 23, 102831.
Mariadhason, J. S., Joseph, E. R., Srinivasan, P., & Francis, R. D. (2026). An Energy-Efficient Hybrid LoRa–Wi-Fi Architecture for Real-Time Water Quality Monitoring and Machine Learning-Based Trend Forecasting. Sensors, 26(15), 4916.
McVicker, E. (2024). Global perspectives on water management: an overview of action steps from the United Nations to local communities. The Journal of Business, 31(1), 112-124.
Nallakaruppan, M. K., Gangadevi, E., Shri, M. L., Balusamy, B., Bhattacharya, S., & Selvarajan, S. (2024). Reliable water quality prediction and parametric analysis using explainable AI models. Scientific Reports, 14(1), 7520.
Rahu, M. A., Chandio, A. F., Aurangzeb, K., Karim, S., Alhussein, M., & Anwar, M. S. (2023). Toward design of internet of things and machine learning-enabled frameworks for analysis and prediction of water quality. IEEE Access, 11, 101055-101086.
Singh, B., Sepahvand, A., Sihag, P., Singh, K., Prabha, C., Nag, A., ... & Kang, D. (2024). Development of soft computing-based models for forecasting water quality index of Lorestan Province, Iran. Scientific Reports, 14(1), 25980.
Sinha, P., Debnath, N., & Bhattacharjee, P. (2026). Water quality and hydroclimatic dataset for rivers and streams of Dhaka, Bangladesh (Version 1) [Data set]. Mendeley Data. https://doi.org/10.17632/xftpv7jvx3.1
Thapa, A., Aryal, N., & Reba, M. L. (2025). Machine learning models for water quality: Predicting pollutant loads and assessing conservation practice's effectiveness in agricultural fields. Ecological Informatics, 103479.
Vicente, E. C., Silva, L. A., da Rocha Fernandes, A. M., & Parreira, W. D. (2025). A structured review of IoT-based embedded systems and machine learning for water quality monitoring. Applied Sciences, 15(21), 11719.
Xu, J., Xu, Z., Kuang, J., Lin, C., Xiao, L., Huang, X., & Zhang, Y. (2021). An alternative to laboratory testing: random forest-based water quality prediction framework for inland and nearshore water bodies. Water, 13(22), 3262.
Yan, X., Zhang, T., Du, W., Meng, Q., Xu, X., & Zhao, X. (2024). A comprehensive review of machine learning for water quality prediction over the past five years. Journal of Marine Science and Engineering, 12(1), 159.
Zhi, W., Appling, A. P., Golden, H. E., Podgorski, J., & Li, L. (2024). Deep learning for water quality. Nature water, 2(3), 228-241.