Water quality prediction using machine learning models based on grid search method
Open accessThe DOI matches its Crossref record; 27 of the 27 references it cites were found in a registry or an index.
Abstract
Water quality is very dominant for humans, animals, plants, industries, and the environment. In the last decades, the quality of water has been impacted by contamination and pollution. In this paper, the challenge is to anticipate Water Quality Index (WQI) and Water Quality Classification (WQC), such that WQI is a vital indicator for water validity. In this study, parameters optimization and tuning are utilized to improve the accuracy of several machine learning models, where the machine learning techniques are utilized for the process of predicting WQI and WQC. Grid search is a vital method used for optimizing and tuning the parameters for four classification models and also, for optimizing and tuning the parameters for four regression models. Random forest (RF) model, Extreme Gradient Boosting (Xgboost) model, Gradient Boosting (GB) model, and Adaptive Boosting (AdaBoost) model are used as classification models for predicting WQC. K-nearest neighbor (KNN) regressor model, decision tree (DT) regressor model, support vector regressor (SVR) model, and multi-layer perceptron (MLP) regressor model are used as regression models for predicting WQI. In addition, preprocessing step including, data imputation (mean imputation) and data normalization were performed to fit the data and make it convenient for any further processing. The dataset used in this study includes 7 features and 1991 instances. To examine the efficacy of the classification approaches, five assessment metrics were computed: accuracy, recall, precision, Matthews's Correlation Coefficient (MCC), and F1 score. To assess the effectiveness of the regression models, four assessment metrics were computed: Mean Absolute Error (MAE), Median Absolute Error (MedAE), Mean Square Error (MSE), and coefficient of determination (R 2). In terms of classification, the testing findings showed that the GB model produced the best results, with an accuracy of 99.50% when predicting WQC values. According to the experimental results, the MLP regressor model outperformed other models in regression and achieved an R 2 value of 99.8% while predicting WQI values.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
1 retracted
Water Quality Prediction Using Artificial Intelligence Algorithms
Aldhyani, T. H. H., Al-Yaari, M., Alkahtani, H., & Maashi, M. (2020) · Applied Bionics and Biomechanics · doi:10.1155/2020/6659314 · Cited by 333
RetractedXGBoost: A Scalable Tree Boosting System
Chen, T., & Guestrin, C. (2016) · Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining · doi:10.1145/2939672.2939785 · Cited by 54,569
Friedman, J. H. (2002) · Computational Statistics & Data Analysis · doi:10.1016/s0167-9473(01)00065-2 · Cited by 7,067
When Is ''Nearest Neighbor'' Meaningful?
Beyer, K., Goldstein, J., Ramakrishnan, R., & Shaft, U. (1999) · Lecture Notes in Computer Science · doi:10.1007/3-540-49257-7_15 · Cited by 2,403 · cited 1×
“Nevertheless, KNN is not recommended for big datasets because it does all computation throughout testing and converges during all trained data, calculating the closest neighbor each time [33].”
Water Quality Assessment in Terms of Water Quality Index
Tyagi, S., Sharma, B., Singh, P., & Dobhal, R. (2020) · American Journal of Water Resources · doi:10.12691/ajwr-1-3-3 · Cited by 908
Hybrid decision tree-based machine learning models for short-term water quality prediction
Lu, H., & Ma, X. (2020) · Chemosphere · doi:10.1016/j.chemosphere.2020.126169 · Cited by 642
Asadollah, S. B. H. S., Sharafati, A., Motta, D., & Yaseen, Z. M. (2021) · Journal of Environmental Chemical Engineering · doi:10.1016/j.jece.2020.104599 · Cited by 381
Analysis and Prediction of Water Quality Using LSTM Deep Neural Networks in IoT Environment
Liu, P., Wang, J., Sangaiah, A. K., Xie, Y., & Yin, X. (2019) · Sustainability · doi:10.3390/su11072058 · Cited by 369
Machine learning based marine water quality prediction for coastal hydro-environment management
Deng, T., Chau, K.-W., & Duan, H.-F. (2021) · Journal of Environmental Management · doi:10.1016/j.jenvman.2021.112051 · Cited by 247
Hu, Z., Zhang, Y., Zhao, Y., Xie, M., Zhong, J., Tu, Z., & Liu, J. (2019) · Sensors · doi:10.3390/s19061420 · Cited by 231
Halim, Z., & Rehan, M. (2020) · Information Fusion · doi:10.1016/j.inffus.2019.06.006 · Cited by 231
Islam Khan, M. S., Islam, N., Uddin, J., Islam, S., & Nasir, M. K. (2022) · Journal of King Saud University - Computer and Information Sciences · doi:10.1016/j.jksuci.2021.06.003 · Cited by 228
Lee, S., & Lee, D. (2018) · International Journal of Environmental Research and Public Health · doi:10.3390/ijerph15071322 · Cited by 212
Wu, J., & Wang, Z. (2022) · Water · doi:10.3390/w14040610 · Cited by 210
Using Machine Learning Models for Predicting the Water Quality Index in the La Buong River, Vietnam
Khôi, Đ. N., Quan, N. T., Linh, D. Q., Nhi, P. T. T., & Thúy, N. T. D. (2022) · Water · doi:10.3390/w14101552 · Cited by 205
Waqas, M. M., Tu, S., Halim, Z., Rehman, S. U., Abbas, G., & Abbas, Z. H. (2022) · Artificial Intelligence Review · doi:10.1007/s10462-022-10143-2 · Cited by 199
Prediction of estuarine water quality using interpretable machine learning approach
Wang, S., Peng, H., & Liang, S. (2022) · Journal of Hydrology · doi:10.1016/j.jhydrol.2021.127320 · Cited by 194
Malek, N. H. A., Yaacob, W. F. W., Nasir, S. A. M., & Shaadan, N. (2022) · Water · doi:10.3390/w14071067 · Cited by 151
Water Quality Prediction Method Based on IGRA and LSTM
Zhou, J., Wang, Y., Xiao, F., Wang, Y., & Sun, L. (2018) · Water · doi:10.3390/w10091148 · Cited by 133
M-AdaBoost-A based ensemble system for network intrusion detection
Zhou, Y., Mazzuchi, T. A., & Sarkani, S. (2020) · Expert Systems with Applications · doi:10.1016/j.eswa.2020.113864 · Cited by 99 · cited 1×
“Because AdaBoost concentrates on prediction performance, the method is biased toward the majority class, which provides more to total prediction performance [32] .”
Halim, Z., Waqar, M., & Tahir, M. (2020) · Knowledge-Based Systems · doi:10.1016/j.knosys.2020.106443 · Cited by 93
Wind Power Prediction Based on Machine Learning and Deep Learning Models
Tarek, Z., Shams, M. Y., Elshewey, A. M., El‐kenawy, E. M., Ibrahim, A. F., Abdelhamid, A. A., & El-dosuky, M. A. (2022) · Computers, materials & continua/Computers, materials & continua (Print) · doi:10.32604/cmc.2023.032533 · Cited by 85
Self-citationNosair, A. M., Shams, M. Y., Abouelmagd, L. M., Hassanein, A. E., Fryar, A. E., & Salem, H. S. A. (2021) · Environmental Science and Pollution Research · doi:10.1007/s11356-021-16289-w · Cited by 68
Self-citationA Novel WD-SARIMAX Model for Temperature Forecasting Using Daily Delhi Climate Dataset
Elshewey, A. M., Shams, M. Y., Elhady, A. M., Shohieb, S. M., Abdelhamid, A. A., Ibrahim, A. F., & Tarek, Z. (2022) · Sustainability · doi:10.3390/su15010757 · Cited by 49
Self-citationWeight Prediction Using the Hybrid Stacked-LSTM Food Selection Model
Elshewey, A. M., Shams, M. Y., Tarek, Z., Megahed, M., El‐kenawy, E. M., & El-dosuky, M. A. (2023) · Computer Systems Science and Engineering · doi:10.32604/csse.2023.034324 · Cited by 44
Self-citationA Machine Learning Approach to Analyze Marine Life Sustainability
Jain, D., Shah, S., Mehta, H., Lodaria, A., & Kurup, L. (2021) · Advances in intelligent systems and computing · doi:10.1007/978-981-15-8443-5_53 · Cited by 20
Liao, Z., Li, Y., Xiong, W.-S., Wang, X., Liu, D., Zhang, Y., & Li, C. (2020) · Sustainability · doi:10.3390/su12145814 · Cited by 16
Cited by
Shams, M. Y., Gamel, S. A., & Talaat, F. M. (2024) · Neural Computing and Applications · doi:10.1007/s00521-023-09391-2 · Cited by 224
“5 A sample of the used dataset where n is the number of samples, y_pred is the predicted Spending Score, and y_actual is the actual Spending Score [48, 49].”
Self-citationBiedunkova, O., Kuznietsov, P., & Korbutiak, V. (2025) · Water Quality Research Journal · doi:10.2166/wqrj.2025.044 · Cited by 22
Metadata
- Authors
- Shams, M. Y., Elshewey, A. M., El-kenawy, E.-S. M., Ibrahim, A., Talaat, F. M., & Tarek, Z.
- Venue
- Multimedia Tools and Applications
- Published
- 2023-09-29
- Volume
- 83
- Issue
- 12
- Pages
- 35307-35334
- ISSN
- 1380-7501 (ISSN-L)
- 1573-7721
- OpenAlex
- W4387165236
- Cited by
- 340
- References
- 27
- FWCI
- 25.84
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.