A Literature Review of Machine Learning Algorithm Performance in Water Quality Parameter Prediction
Main
Asep Saefurohman*
Water quality is essential for environmental sustainability and public health, yet conventional laboratory-based monitoring is costly and slow. Machine learning (ML) has been proposed as an alternative, but algorithm performance is inconsistent across studies and seldom compared on identical target parameters. This study synthesizes ML algorithm use and performance in predicting water quality parameters. A structured narrative literature review searched Scopus for English-language publications from 2015 to 2026 using keywords combining machine learning, deep learning, or artificial intelligence with water quality and prediction, forecasting, or classification. Titles, abstracts, and full texts were screened against predefined inclusion and exclusion criteria; 37 publications were analyzed. Algorithms, target parameters, validation strategies, and metrics (R², RMSE, MAE) were extracted and synthesized narratively, with performance grouped by target parameter, not compared across targets. Random Forest, Support Vector Machine, Decision Tree, K-Nearest Neighbors, neural networks, and boosting algorithms (XGBoost, AdaBoost, CatBoost, LightGBM) were most frequently used, while the Water Quality Index (WQI) was the most frequently predicted target, followed by dissolved oxygen (DO), pH, and biochemical oxygen demand (BOD). Ensemble and boosting models generally performed strongly; for example, XGBoost reached R² = 0.93 and RMSE = 0.047 for the Irrigation Water Quality Index, and an attention-based LSTM reached R² = 0.985 for daily DO. However, no algorithm was universally superior, and external validation remained rare. Algorithm selection should consider data characteristics, target parameter, evaluation metrics, and interpretability.
Ab Karim, M. A., Wan Ismail, W. Z., Mohd Shuib, F. M., Ab Aziz, N. A., & Ghazali, A. K. (2026). Water Quality Monitoring and Assessment Using Machine Learning: A Review of Formulation, Modeling Approaches, and Explainable Artificial Intelligence. Environments, 13(5), 267. https://doi.org/10.3390/environments13050267
Al-Mukhtar, M., Srivastava, A., Khadke, L., Al-Musawi, T., & Elbeltagi, A. (2024). Prediction of Irrigation Water Quality Indices Using Random Committee, Discretization Regression, REPTree, and Additive Regression. Water Resources Management, 38(1), 343–368. https://doi.org/10.1007/s11269-023-03674-y
Al-Sulttani, A. O., Al-Mukhtar, M., Roomi, A. B., Farooque, A. A., Khedher, K. M., & Yaseen, Z. M. (2021). Proposition of New Ensemble Data-Intelligence Models for Surface Water Quality Prediction. IEEE Access, 9,108527–108541. https://doi.org/10.1109/access.2021.3100490
Aldhyani, T. H. H., Al-Yaari, M., Alkahtani, H., & Maashi, M. (2020). Water Quality Prediction Using Artificial Intelligence Algorithms. Applied Bionics and Biomechanics, 2020, 1–12. https://doi.org/10.1155/2020/6659314
Alqahtani, A., Shah, M. I., Aldrees, A., & Javed, M. F. (2022). Comparative Assessment of Individual and Ensemble Machine Learning Models for Efficient Analysis of River Water Quality. Sustainability, 14(3), 1183. https://doi.org/10.3390/su14031183
Cabri, G., & Rahimi, A. (2025). A Comparative Study of Machine Learning Algorithms for Water Quality Prediction Using SHAP-based Explainability. In 2025 33rd International Conference on Enabling Technologies: Infrastructure for Collaborative Enterprises (WETICE) (pp. 1–6). IEEE. https://doi.org/10.1109/wetice67341.2025.11091841
Catajan Jr, A. L., Fajardo, A. C., & Limbago, J. S. (2023). Classification of Water Quality Index in Laguna de Bay using XGBoost. In 2023 20th International Joint Conference on Computer Science and Software Engineering (JCSSE) (pp. 403–408). IEEE. https://doi.org/10.1109/jcsse58229.2023.10202029
Chakraborty, M., Ismail, M., Basak, J. K., Mohinuzzaman, M., Paudel, B., & Halim, A. (2026). Modeling of BOD and COD Concentrations in Aquaculture Sites of the Southeastern Coastal Region of Bangladesh Using Machine Learning. Water Environment Research, 98(7). https://doi.org/10.1002/wer.70480
Costa, D., Bayissa, Y., Barbosa, K. V., Villas-Boas, M. D., Bawa, A., Junior, J. L., Neto, A. J. S., & Srinivasan, R. (2024). Water quality estimates using machine learning techniques in an experimental watershed. Journal of Hydroinformatics, 26(11), 2798–2814. https://doi.org/10.2166/hydro.2024.132
Daniels, A., & Koutsougeras, C. (2021). Predicting Water Quality Parameters in Lake Pontchartrain using Machine Learning. In 2021 the 5th International Conference on Information System and Data Mining (pp. 28–33). ACM. https://doi.org/10.1145/3471287.3471308
de Lima, L., Capriles, P., & Oliveira, N. (2025). Comparison of Machine Learning Algorithms in Water Quality Index Prediction: A Case Study in Juiz De Fora, Brazil. In Lecture Notes in Networks and Systems (pp. 43–54). Springer Nature Singapore. https://doi.org/10.1007/978-981-96-6438-2_3
Ehmimed, N., Chkouri, M. Y., & Touhafi, A. (2025). Temporal SMOTE and Model Diversity: Boosting Accuracy in Water Quality Forecasting. In Lecture Notes in Networks and Systems (pp. 103–114). Springer Nature Switzerland. https://doi.org/10.1007/978-3-032-07915-2_9
Ejaz, U., Khan, S. M., Jehangir, S., Ahmad, Z., Abdullah, A., Iqbal, M., Khalid, N., Nazir, A., & Svenning, J.-C. (2024). Monitoring the Industrial waste polluted stream - Integrated analytics and machine learning for water quality index assessment. Journal of Cleaner Production, 450, 141877. https://doi.org/10.1016/j.jclepro.2024.141877
Elmotawakkil, A., Enneya, N., Bhagat, S. K., Ouda, M. M., & Kumar, V. (2025). Advanced machine learning models for robust prediction of water quality index and classification. Journal of Hydroinformatics, 27(2), 299–319. https://doi.org/10.2166/hydro.2025.290
García del Toro, E. M., Mateo, L. F., García-Salgado, S., Más-López, M. I., & Quijano, M. Á. (2022). Use of Artificial Neural Networks as a Predictive Tool of Dissolved Oxygen Present in Surface Water Discharged in the Coastal Lagoon of the Mar Menor (Murcia, Spain). International Journal of Environmental Research and Public Health, 19(8), 4531. https://doi.org/10.3390/ijerph19084531
He, M., Qian, Q., Liu, X., & Zhang, J. (2025). River Dissolved Oxygen Prediction Using Machine Learning Models and Wireless Sensor Measurements. Journal of Hydrologic Engineering, 30(5). https://doi.org/10.1061/jhyeff.heeng-6522
Hridoy, M. A. A. M., Shawkat, A. I., Bordin, C., Acharjee, M. R., Masood, A., Baki, A. O., & Al Mamun, M. A. (2025). Advanced machine learning models for accurate water quality classification and WQI prediction: Implications for aquatic disease risk management. Science of The Total Environment, 1008, 180965. https://doi.org/10.1016/j.scitotenv.2025.180965
Husain, M. S., Fatima, K., Hussain, M. S., Viswambharan, A., & Idrisi, A. H. (2025). Machine Learning Based Water Quality Classification in Geothermally Active Regions. In 2025 Advances in Science and Engineering Technology International Conferences (ASET) (pp. 1–6). IEEE. https://doi.org/10.1109/aset66891.2025.11428147
Jena, P. K., Rahaman, S. M., Das Mohapatra, P. K., Barik, D. P., & Patra, D. S. (2022). Surface water quality assessment by Random Forest. Water Practice and Technology, 18(1), 201–214. https://doi.org/10.2166/wpt.2022.156
Khoshvaght, H., Permala, R. R., Razmjou, A., & Khiadani, M. (2025). A critical review on selecting performance evaluation metrics for supervised machine learning models in wastewater quality prediction. Journal of Environmental Chemical Engineering, 13(6), 119675. https://doi.org/10.1016/j.jece.2025.119675
Krishna, S., & Sudha, I. (2025). Prediction of water quality using novel support vector machine algorithm based on feature selection over random forest for improved accuracy. In AIP Conference Proceedings (Vol. 3318, p. 20108). AIP Publishing. https://doi.org/10.1063/5.0277261
Krushna, B. V., & Sasikala, D. (2024). Comparative Analysis of Machine Learning Models for Water Quality Prediction. In 2024 Fourth International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT) (pp. 1–6). IEEE. https://doi.org/10.1109/icaect60202.2024.10468812
Kularbphettong, K., Raksuntorn, N., & Boonseng, C. (2025). Prediction of Water Quality Index (WQI) Using Machine Learning. International Journal of Environmental Science and Development, 16(1), 34–40. https://doi.org/10.18178/ijesd.2025.16.1.1507
Lokman, A., Ismail, W. Z. W., & Aziz, N. A. A. (2025). A Review of Water Quality Forecasting and Classification Using Machine Learning Models and Statistical Analysis. Water, 17(15), 2243. https://doi.org/10.3390/w17152243
Lokman, A., Wan Ismail, W. Z., & Ab Aziz, N. A. (2025). Enhancing water quality index prediction accuracy in Mranti lake and rivers in Malaysia using regression forest model. Applied Water Science, 16(2). https://doi.org/10.1007/s13201-025-02705-w
Mohamed, G., Yassine, G., Hamza, B., Tachi, S. E., Hasnaoui, Y., & Ammar, M. (2025). Assessment and prediction of irrigation water quality using machine learning techniques: a case study from the Bouhamdane Basin, Guelma Region, Eastern Algeria. Water Supply, 25(11), 1465–1481. https://doi.org/10.2166/ws.2025.087
Najafabadi, E. F., Shojaei, P., & Askarizadeh, M. (2025). Comparative analysis of machine learning models for predicting river water quality: a case study of the Zayandeh Rood River. Results in Engineering, 27, 106665. https://doi.org/10.1016/j.rineng.2025.106665
Pisal, P. S., Varshney, N., Chamoli, A. S., & Singh, A. (2025). Prediction of Water Quality using Machine Learning and Artificial Intelligence Techniques. In 2025 7th International Conference on Information Systems and Computer Networks (ISCON) (pp. 1–6). IEEE. https://doi.org/10.1109/iscon65210.2025.11341082
Prasad, D. V. V., Venkataramana, L. Y., Kumar, P. S., Prasannamedha, G., Soumya, K., & Poornema, A. J. (2021). Prediction on water quality of a lake in Chennai, India using machine learning algorithms. Desalination and Water Treatment, 218, 44–51. https://doi.org/10.5004/dwt.2021.26970
Rawat, P., Bajaj, M., Sharma, V., & Vats, S. (2023). A Comprehensive Analysis of the Effectiveness of Machine Learning Algorithms for Predicting Water Quality. In 2023 International Conference on Innovative Data Communication Technologies and Application (ICIDCA) (pp. 1108–1114). IEEE. https://doi.org/10.1109/icidca56705.2023.10099968
Sakaa, B., Elbeltagi, A., Boudibi, S., Chaffaï, H., Islam, A. R. M. T., Kulimushi, L. C., Choudhari, P., Hani, A., Brouziyne, Y., & Wong, Y. J. (2022). Water quality index modeling using random forest and improved SMO algorithm for support vector machine in Saf-Saf river basin. Environmental Science and Pollution Research, 29(32), 48491–48508. https://doi.org/10.1007/s11356-022-18644-x
Shah, M. I., Alaloul, W. S., Alqahtani, A., Aldrees, A., Musarat, M. A., & Javed, M. F. (2021). Predictive Modeling Approach for Surface Water Quality: Development and Comparison of Machine Learning Models. Sustainability, 13(14), 7515. https://doi.org/10.3390/su13147515
Sharma, A., Sharma, R., Rana, R., & Kalia, A. (2024). Water quality prediction using Machine Learning Models. E3S Web of Conferences, 596, 1025. https://doi.org/10.1051/e3sconf/202459601025
Vaishali, M., Monika, M., Atish, M., & Lalitha. (2025). A Water Quality Prediction and Assessment Model using Machine Learning Classifiers. In AI and ML Solutions Driving Modern Farming and Urban Innovation (pp. 153–168). BENTHAM SCIENCE PUBLISHERS. https://doi.org/10.2174/9798898812102125030014
Voza, D., Babić, G., Vuković, M., & Ranisavljević, I. M. (2025). Comparative analysis of machine learning algorithms efficacy in water resources management. International Journal of Environment and Waste Management, 38(3), 295–323. https://doi.org/10.1504/ijewm.2025.149522
Walczak, N., & Walczak, Z. (2025). Assessing the feasibility of using Machine learning algorithms to determine reservoir water quality based on a reduced set of predictors. Ecological Indicators, 175, 113556. https://doi.org/10.1016/j.ecolind.2025.113556
Wang, M. (2025). Enhancing water quality parameter prediction accuracy using a hybrid machine learning and optimization approach. Signal, Image and Video Processing, 19(13). https://doi.org/10.1007/s11760-025-04635-1
WHO/UNICEF. (2023). Progress on Household Drinking Water, Sanitation and Hygiene 2000–2022: Special Focus on Gender. WHO/UNICEF Joint Monitoring Programme for Water Supply Sanitation and Hygiene. https://data.unicef.org/resources/jmp-report-2023/
WHO. (2023). Drinking-Water. World Health Organization. https://www.who.int/news-room/fact-sheets/detail/drinking-water
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. https://doi.org/10.3390/jmse12010159
Yaseen, Bazai, S. U., Ghafoor, M. I., Shahreen, M., & Marjan, S. (2024). Water Quality Prediction Using Random Forest Classifier: An Analysis of Chemical Attributes and Their Feature Importance. In 2024 5th International Conference on Innovative Computing (ICIC) (pp. 1–7). IEEE. https://doi.org/10.1109/icic63915.2024.11116234








