Water Quality Index (WQI) Forecasting and Analysis Based on Neuro-Fuzzy and Statistical Methods
Source abstract
Abstract
Water quality is crucial to the economy and ecology because a healthy aquatic eco-system supports human survival and biodiversity. We have developed the Neuro-Adapt Fuzzy Strategist (NAFS) to improve water quality index (WQI) forecasting accuracy. The objective of the developed model is to achieve a balance by improving prediction accuracy while preserving high interpretability and computational efficiency. Neural networks and fuzzy logic improve the NAFS model’s flexibility and prediction accuracy, while its optimized backward pass improves training convergence speed and parameter update effectiveness, contributing to better learning performance. The normalized and partial derivative computations are refined to improve the model. NAFS is compared with ANN, Adaptive Neuro-Fuzzy Inference System (ANFIS), and current machine learning (ML) models such as LSTM, GRU, and Transformer based on performance evaluation metrics. NAFS outperforms ANFIS and ANN, with MSE of 1.678. NAFS predicts water quality better than ANFIS and ANN, with RMSE of 1.295. NAFS captures complicated water quality parameter interdependencies better than ANN and ANFIS using principal component analysis (PCA) and Pearson correlation. The performance comparison shows that NAFS outperforms all baseline models with the lowest MAE, MSE, RMSE and MAPE, and the highest R2, confirming its superior accuracy. PCA is employed to reduce data dimensionality and identify the most influential water quality parameters. It reveals that two principal components account for 72% of the total variance, highlighting key contributors to WQI and supporting feature prioritization in the NAFS model. The Breusch–Pagan test reveals heteroscedasticity in residuals, justifying the use of non-linear models over linear methods. The Shapiro–Wilk test indicates non-normality in residuals. This shows that the NAFS model can handle complex, non-linear environmental variables better than previous water quality prediction research. NAFS not only can predict water quality index values but also enhance WQI estimation.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Water Quality Monitoring Technologies · Hydrological Forecasting Using AI · Water Quality and Pollution Assessment
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Advanced Devices and System (ADS), Faculty of Engineering and Built Environment, Universiti Sains Islam Malaysia, Nilai 71800, Negeri Sembilan, Malaysia
Faculty of Engineering and Technology, Multimedia University, Ayer Keroh 75450, Melaka, Malaysia
Funding
Ministry of Higher Education, Malaysia under Fundamental of Research Grant Scheme · Universiti Sains Islam Malaysia for USIM-MMU Matching · Multimedia University
References (47)
Show source-provided references
1. Assessing the impacts of river bed mining on aquatic ecosystems: A critical review of effects on water quality and biodiversity10.1016/j.hydres.2024.01.004 ↗
2. Jan, F., Min-Allah, N., and Düştegör, D. (2021). IoT Based Smart Water Quality Monitoring: Recent Techniques, Trends and Challenges for Domestic Applications. Water, 13.10.3390/w13131729 ↗
3. Application of soft computing to predict water quality in wetland10.1007/s11356-020-10344-8 ↗
4. Ibrahim, H., Yaseen, Z.M., Scholz, M., Ali, M., Gad, M., Elsayed, S., Khadr, M., Hussein, H., Ibrahim, H.H., and Eid, M.H. (2023). Evaluation and Prediction of Groundwater Quality for Irrigation Using an Integrated Water Quality Indices, Machine Learning Models and GIS Approaches: A Representative Case Study. Water, 15.10.3390/w15040694 ↗
5. Handling uncertainty issue in software defect prediction utilizing a hybrid of ANFIS and turbulent flow of water optimization algorithm10.1007/s00521-023-09315-0 ↗
6. Al-Adhaileh, M.H., and Alsaade, F.W. (2021). Modelling and Prediction of Water Quality by Using Artificial Intelligence. Sustainability, 13.10.3390/su13084259 ↗
7. A novel approach to predict Water Quality Index using machine learning models: A review of the methods employed and future possibilities
8. Prediction of Optimal Coagulant Dosage Based on FCM-ISSA-ANFIS Hybrid Model10.15244/pjoes/168940 ↗
9. Rathnayake, N., Rathnayake, U., Dang, T.L., and Hoshino, Y. (2023). Water level prediction using soft computing techniques: A case study in the Malwathu Oya, Sri Lanka. PLoS ONE, 18.10.1371/journal.pone.0282847 ↗
10. Water Quality Modelling of River Periyar Using Artificial Neural Network and Adaptive Neuro-Fuzzy Inference System10.1088/1755-1315/1125/1/012008 ↗
11. Performance assessment of data driven water models using water quality parameters of Wangchu river, Bhutan10.1007/s42452-022-05181-y ↗
12. Water Quality Prediction and Analysis Using Machine Learning10.48175/IJARSCT-7539 ↗
13. Olasoji, S.O., Oyewole, N.O., Abiola, B., and Edokpayi, J.N. (2019). Water Quality Assessment of Surface and Groundwater Sources Using a Water Quality Index Method: A Case Study of a Peri-Urban Town in Southwest, Nigeria. Environments, 6.10.3390/environments6020023 ↗
14. Pappaka, R.K., Nakkala, A.B., Badapalli, P.K., Gugulothu, S., Anguluri, R., Hasher, F.F.B., and Zhran, M. (2025). Machine Learning-Driven Groundwater Potential Zoning Using Geospatial Analytics and Random Forest in the Pandameru River Basin, South India. Sustainability, 17.10.3390/su17093851 ↗
15. Chen, J., Wei, X., Liu, Y., Zhao, C., Liu, Z., and Bao, Z. (2024). Deep Learning for Water Quality Prediction—A Case Study of the Huangyang Reservoir. Appl. Sci., 14.10.3390/app14198755 ↗
16. Shahid, M.S.B., Rifat, H.R., Uddin, M.A., Islam, M.M., Mahmud, M.Z., Sakib, M.K.H., and Roy, A. (2024). Hypertuning-Based Ensemble Machine Learning Approach for Real-Time Water Quality Monitoring and Prediction. Appl. Sci., 14.10.3390/app14198622 ↗
17. Li, Q., He, J., Mu, D., Liu, H., and Li, S. (2025). Dissolved Oxygen Modeling by a Bayesian-Optimized Explainable Artificial Intelligence Approach. Appl. Sci., 15.10.3390/app15031471 ↗
18. Lokman, A., Ismail, W.Z.W., and Aziz, N.A.A. (2025). A Review of Water Quality Forecasting and Classification Using Machine Learning Models and Statistical Analysis. Water, 17.10.3390/w17152243 ↗
19. A critical analysis of parameter choices in water quality assessment10.1016/j.watres.2024.121777 ↗
20. A review of the application of machine learning in water quality evaluation10.1016/j.eehl.2022.06.001 ↗
21. City Population (2024, March 10). Klang (District, Malaysia)—Population Statistics, Charts, Map and Location. Available online: https://www.citypopulation.de/en/malaysia/admin/selangor/1002__klang/.
22. Saif, M.A.M., Hussin, N., Husin, M.M., Alwadain, A., and Chakraborty, A. (2022). Determinants of the Intention to Adopt Digital-Only Banks in Malaysia: The Extension of Environmental Concern. Sustainability, 14.10.3390/su141711043 ↗
23. DOE (2024, April 12). National Water Quality Standards and Water Quality Index—Department of Environment, Available online: https://www.doe.gov.my/en/national-river-water-quality-standards-and-river-water-quality-index/.
24. Integration of advanced optimization algorithms into least-square support vector machine (LSSVM) for water quality index prediction10.2166/ws.2021.303 ↗
25. Makinde, A. (2025, May 13). Optimizing Time Series Forecasting: A Comparative Study of Adam and Nesterov Accelerated Gradient on LSTM and GRU Networks Using Stock Market Data. Available online: https://arxiv.org/pdf/2410.01843v1.
26. Prediction of the Water Quality Index Using ANFIS Modelling
27. Trach, R., Trach, Y., Kiersnowska, A., Markiewicz, A., Lendo-Siwicka, M., and Rusakov, K. (2022). A Study of Assessment and Prediction of Water Quality Index Using Fuzzy Logic and ANN Models. Sustainability, 14.10.3390/su14095656 ↗
28. Menapace, A., Zanfei, A., and Righetti, M. (2021). Tuning ANN Hyperparameters for Forecasting Drinking Water Demand. Appl. Sci., 11.10.3390/app11094290 ↗
29. Wu, J., and Wang, Z. (2022). A Hybrid Model for Water Quality Prediction Based on an Artificial Neural Network, Wavelet Transform, and Long Short-Term Memory. Water, 14.10.3390/w14040610 ↗
30. Robust machine learning algorithms for predicting coastal water quality index10.1016/j.jenvman.2022.115923 ↗
31. Enhancing Botnet Detection With Machine Learning And Explainable AI: A Step Towards Trustworthy AI Security
32. Rajapriya, N., and Kawajiri, K. (2025, August 15). Deep Learning for GWP Prediction: A Framework Using PCA, Quantile Transformation, and Ensemble Modeling. Available online: https://arxiv.org/pdf/2411.19124.
33. Michelucci, U. (2025). Correlation and Linear Regression. Statistics for Scientists, Springer.10.1007/978-3-031-78147-6 ↗
34. Lokman, A., Ismail, W.Z.W., and Aziz, N.A.A. (2025). Water Quality Evaluation and Analysis by Integrating Statistical and Machine Learning Approaches. Algorithms, 18.10.3390/a18080494 ↗
35. Enhancing Gas Distribution Network Resilience Utilizing a Mixed Social Network Analysis-Simulation Approach: Application of Artificial Intelligence10.1109/ACCESS.2024.3520216 ↗
36. The Dissonance Between Statistical Theory and Practice: The Case of Central Limit Theorem and The Sample Size
37. Modeling and Inference of Insurance Sector Development on Nigeria Economic Growth African Multidisciplinary Modeling and Inference of Insurance Sector Development on Nigeria Economic Growth
38. Evaluating the Suitability of Linear and Nonlinear Regression Approaches for the Langmuir Adsorption Model as Applied toward Biomass-Based Adsorbents: Testing Residuals and Assessing Model Validity10.1021/acs.langmuir.4c01786 ↗
39. Baek, S.S., Pyo, J., and Chun, J.A. (2020). Prediction of Water Level and Water Quality Using a CNN-LSTM Combined Deep Learning Approach. Water, 12.10.3390/w12123399 ↗
40. Attention-driven LSTM and GRU deep learning techniques for precise water quality prediction in smart aquaculture10.1007/s10499-024-01574-5 ↗
41. A novel water quality prediction model based on BiMKANsDformer
42. Tejaswi, T., Manoj, C., Naidu, P.V.D., Santhosh, T., Akhil, P.V.S., and Ganesan, V. (2022, January 15–16). Nexus of Water Quality prediction by ANN. Proceedings of the 2022 International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems, Chennai, India.10.1109/ICSES55317.2022.9914054 ↗
43. Chen, H., Yang, J., Fu, X., Zheng, Q., Song, X., Fu, Z., Wang, J., Liang, Y., Yin, H., and Liu, Z. (2022). Water Quality Prediction Based on LSTM and Attention Mechanism: A Case Study of the Burnett River, Australia. Sustainability, 14.10.3390/su142013231 ↗
44. Predicting flood susceptibility using LSTM neural networks10.1016/j.jhydrol.2020.125734 ↗
45. Water quality prediction using CNN10.1088/1742-6596/2484/1/012051 ↗
46. Cross-Fitted Residual Regression for High-Dimensional Heteroscedasticity Pursuit10.1080/01621459.2021.1970570 ↗
47. Teaching Descriptive Statistics and Hypothesis Tests Measuring Water Density10.1021/acs.jchemed.3c00402 ↗