EN
PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH
Abstract
Water hardness is a key parameter in evaluating water availability and plays a critical role in the development of sustainable water management strategies. In this study, water hardness was estimated using four advanced machine learning algorithms: Random Forest (RF), Support Vector Regression (SVR), Multiple Linear Regression (MLR), and AdaBoost. The input variables used for model training included sodium (Na), potassium (P), and anion-cation concentrations. The dataset was obtained from the Beşkonak flow measurement station located on the Köprüçay Stream in southern Turkey, which plays a vital role in the regional hydrological system. Model performance was assessed using statistical indicators such as mean square error (MSE), root mean square error (RMSE), coefficient of determination (R²), and mean absolute percentage error (MAPE). Among the evaluated models, MLR achieved the highest accuracy with an R² value of 0.9945, followed by SVR with 0.9939, AdaBoost with 0.9700, and RF with 0.9400. In terms of predictive error, MLR yielded the lowest RMSE value at 0.248, while SVR, AdaBoost, and RF recorded RMSE values of 0.264, 0.545, and 0.592, respectively. These results demonstrate that the MLR model outperformed the others in estimating water hardness, while the remaining models also produced acceptable levels of accuracy. This study provides a valuable contribution to the understanding of data-driven approaches for water quality assessment and offers insights for future water resource planning.
Keywords
References
- M. Hori, K. Shozugawa, K. Sugimori, and Y. Watanabe, "A survey of monitoring tap water hardness in Japan and its distribution patterns," Sci. Rep., vol. 11, no. 1, p. 13546, 2021, Doi: 10.1038/s41598-021-92949-8.
- L. Cohen, A. Moreno, and J. L. Berna, "Influence of anionic concentration and water hardness on foaming properties of a linear alkylbenzene sulfonate," J. Am. Oil Chem. Soc., vol. 70, pp. 75–78, 1993. doi: 10.1007/BF02545371
- T. Morales-Pinzón, R. Lurueña, X. Gabarrell, C. M. Gasol, and J. Rieradevall, "Financial and environmental modelling of water hardness—Implications for utilising harvested rainwater in washing machines," Sci. Total Environ., vol. 470, pp. 1257–1271, 2014, doi: 10.1016/j.scitotenv.2013.10.101.
- D. J. Soucek et al., "Influence of water hardness and sulfate on the acute toxicity of chloride to sensitive freshwater invertebrates," Environ. Toxicol. Chem., vol. 30, no. 4, pp. 930–938, 2011, doi: 10.1002/etc.454.
- Avcı, B. C., Kesgin, E., Atam, M., & Tan, R. I. (2023). Modeling agricultural practice impacts on surface water quality: Case of Northern Aegean watershed, Turkey. International Journal of Environmental Science and Technology, 20(5), 5265–5280. https://doi.org/10.1007/s13762-022-04477-1
- Y. Liu, P. Wu, D. Zhu, L. Zhang, and J. Chen, "Effect of water hardness on emitter clogging of drip irrigation," Trans. Chin. Soc. Agric. Eng., vol. 31, no. 20, pp. 95–100, 2015. doi: 10.11975/j.issn.1002-6819.2015.20.014
- U. Mohseni, C. B. Pande, S. C. Pal, and F. Alshehri, "Prediction of weighted arithmetic water quality index for urban water quality using ensemble machine learning model," Chemosphere, vol. 352, p. 141393, 2024, doi: 10.1016/j.chemosphere.2024.141393.
- S. Talukdar et al., "Predicting lake water quality index with sensitivity-uncertainty analysis using deep learning algorithms," J. Clean. Prod., vol. 406, p. 136885, 2023.
Details
Primary Language
English
Subjects
Water Resources Engineering
Journal Section
Research Article
Publication Date
December 1, 2025
Submission Date
May 30, 2025
Acceptance Date
July 23, 2025
Published in Issue
Year 2025 Volume: 13 Number: 4
APA
Çoban, E., & Saplıoğlu, K. (2025). PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH. Konya Journal of Engineering Sciences, 13(4), 1094-1106. https://doi.org/10.36306/konjes.1709984
AMA
1.Çoban E, Saplıoğlu K. PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH. KONJES. 2025;13(4):1094-1106. doi:10.36306/konjes.1709984
Chicago
Çoban, Erdem, and Kemal Saplıoğlu. 2025. “PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH”. Konya Journal of Engineering Sciences 13 (4): 1094-1106. https://doi.org/10.36306/konjes.1709984.
EndNote
Çoban E, Saplıoğlu K (December 1, 2025) PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH. Konya Journal of Engineering Sciences 13 4 1094–1106.
IEEE
[1]E. Çoban and K. Saplıoğlu, “PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH”, KONJES, vol. 13, no. 4, pp. 1094–1106, Dec. 2025, doi: 10.36306/konjes.1709984.
ISNAD
Çoban, Erdem - Saplıoğlu, Kemal. “PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH”. Konya Journal of Engineering Sciences 13/4 (December 1, 2025): 1094-1106. https://doi.org/10.36306/konjes.1709984.
JAMA
1.Çoban E, Saplıoğlu K. PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH. KONJES. 2025;13:1094–1106.
MLA
Çoban, Erdem, and Kemal Saplıoğlu. “PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH”. Konya Journal of Engineering Sciences, vol. 13, no. 4, Dec. 2025, pp. 1094-06, doi:10.36306/konjes.1709984.
Vancouver
1.Erdem Çoban, Kemal Saplıoğlu. PREDICTING WATER HARDNESS THROUGH DATA-DRIVEN INTELLIGENCE: A COMPARATIVE MACHINE LEARNING APPROACH. KONJES. 2025 Dec. 1;13(4):1094-106. doi:10.36306/konjes.1709984