A Metaheuristic-Optimized Ensemble Learning Framework for Sustainable Water Quality Forecasting in Multi-Sensor Environmental Monitoring Systems
Main Article Content
Abstract
Context: For long-term environmental management, it is important to accurately predict water quality, especially as modern multi-sensor monitoring systems generate large volumes of high-dimensional physicochemical data. Conventional statistical and machine learning methodologies frequently fail to capture nonlinear environmental dynamics or rely on manually adjusted model configurations, thereby limiting predictive accuracy and scalability. Objective: To tackle these issues, this research introduces a metaheuristic-optimized ensemble learning framework for long-term water quality prediction in multi-sensor environmental monitoring systems. Method: The proposed framework combines Particle Swarm Optimization (PSO) with Random Forest ensemble learning to enable automatic hyperparameter optimization within a repeatable end-to-end modeling pipeline. Comprehensive data preprocessing and domain-informed feature engineering were applied to better represent physicochemical interactions and temporal environmental patterns. Results: The experiment was conducted using a large-scale water quality dataset comprising 24,265 validated samples. Conclusion: The framework provides a metaheuristic-optimized ensemble learning approach for long-term water quality prediction in multi-sensor environmental monitoring systems.
Article Details
Issue
Section

This work is licensed under a Creative Commons Attribution 4.0 International License.
Articles published in SyCom are open access and distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0).
How to Cite
References
[1] World Health Organization (WHO). Progress on household drinking water, sanitation and hygiene 2000–2022. WHO/UNICEF Joint Monitoring Programme (JMP). Geneva: WHO, 2023.
[2] United Nations Environment Programme (UNEP). World Water Quality Alliance: Advancing global water quality monitoring. Nairobi, Kenya: UNEP, 2024.
[3] R. Gai & Z. Guo “A water quality assessment method based on an improved grey relational analysis and PSO multi-classification SVM,” Frontiers in Plant Science, vol. 14, 1099668. https://doi.org/10.3389/fpls.2023.1099668.
[4] A. Lokman, W.Z.W. Ismail, N.A.A. Aziz “A review of water quality forecasting and classification using machine learning models,” Water, vol. 17, no. 15, 2243, 2025. https://doi.org/10.3390/w17152243.
[5] S. Xue, C. Jiang, Y. Lin, Z. Zhang & J. Liu “Spectroscopic studies of the role of dissolved organic matter in acenaphthene photodegradation in liquid water and ice,” Environmental Pollution, vol. 347, 123805. https://doi.org/10.1016/j.envpol.2024.123805.
[6] D. A. Dewi, A. S. Wei, L. C. Lin & C. D. Heng “Water quality prediction using Random Forest algorithm and optimization,” International Journal of Applied Data Sciences, vol. 5, no. 3, 1354–1362, 2024.
[7] O. Adoghe, B. Ikharo & H. Amhenrior “Performance Metrics of Deep Learning Models in EHR Analysis: A Systematic Review,” IT Journal Research and Development, vol. 10, no. 2, 93-108. https://doi.org/10.25299/itjrd.2025.24176.
[8] Y. Zheng, J. Wei, W. Zhang, Y. Zhang, T. Zhang & Y. Zhou, “Water quality parameters-based prediction of dissolved oxygen in estuaries using advanced explainable ensemble machine learning” Journal of Environmental Management, vol. 366, 121932, 2024. https://doi.org/10.1016/j.jenvman.2024.121932.
[9] D. T. Bui, K. Khosravi, J. Tiefenbacher, H. Nguyen, N. Kazakis,”Improving prediction of water quality indices using novel hybrid machine learning algorithms” Science of The Total Environment, vol. 721, 137612, 2020. https://doi.org/10.1016/j.scitotenv.2020.137612.
[10] J. Kennedy & R. Eberhart “Particle swarm optimization” in the Proceedings of the IEEE International Conference on Neural Networks, 4, 1942–1948, 1995. https://doi.org/10.1109/ICNN.1995.488968.
[11] Y. Li, X. Li, C. Xu, & X. Tang “Dissolved oxygen prediction model for the Yangtze River Estuary Basin using IPSO-LSSVM” Water, vol. 15, no. 12, 2206, 2023. https://doi.org/10.3390/w15122206.
[12] F. Zito, E. Talbi, C. Cavallaro, V. Cutello & M. Pavone, “Metaheuristics in automated machine learning: Strategies for optimization,” Computer Science & AI, vol. 26, 200532, 2025. https://doi.org/10.1016/j.iswa.2025.200532.
[13] I. Essamlali, H. Nhaila & M. El Khaili “Advances in machine learning and IoT for water quality monitoring: A comprehensive review” Heliyon, vol. 10, no. 6, e27920, 2024. https://doi.org/10.1016/j.heliyon.2024.e27920.
[14] W. Liu, T. Liu, Z. Liu, H. Luo & H. Pei, “A novel deep learning ensemble model based on two-stage feature selection for water quality prediction” Environmental Research, vol. 224, 115560. https://doi.org/10.1016/j.envres.2023.115560.
[15] P. Jayaraman, K. K. Nagarajan, P. Partheeban & V. Krishnamurthy “Critical review on water quality analysis using IoT and machine learning models,” International Journal of Information Management Data Insights, vol. 4, no. 1, 100210, 2024. https://doi.org/10.1016/j.jjimei.2023.100210.
[16] R. A. Haq, P. Swetha & V. Harigovindan “Accurate dissolved oxygen prediction for aquaculture using stacked ensemble machine learning,” National Academy Science Letters, vol. 46, no. 3, pp. 203–207, 2023. https://doi.org/10.1007/s40009-023-01213-2.
[17] H. H. Vu, Q. A. Vu & C. H. Pham, “A review of machine learning and IoT on water quality assessment,” Results in Engineering, vol. 26, 104935, 2025. https://doi.org/10.1016/j.rineng.2025.104935.
[18] M.Y. Shams, A.M. Elshewey, ES.M. El-kenawy et al. “Water quality prediction using machine learning models based on grid search method,” Multimedia Tools and Applications, vol. 83, pp. 35307-35334, 2024. https://doi.org/10.1007/s11042-023-16737-4.
[19] J. Snoek, H. Larochelle & R. P. Adams “Practical Bayesian optimization of machine learning algorithms,” in Proceedings of the 26th International Conference on Neural Information Processing Systems – Vol. 2, pp. 2951–2959, Nevada, USA, 2012.
[20] L. Liu, Y. Chen, S. Peng & Q. Han, “A multi-model ensemble approach for reservoir dissolved oxygen forecasting based on feature screening and machine learning,” Ecological Indicators, vol. 165, 112291, 2024. https://doi.org/10.1016/j.ecolind.2024.112291.
[21] J. Wu, Z. Wang, J. Dong, Z. Yao, X. Chen & H. Fan, “Multi-step ahead dissolved oxygen concentration prediction based on knowledge-guided ensemble learning and XAI,” Journal of Hydrology, vol. 636, 131297. https://doi.org/10.1016/j.jhydrol.2024.131297.
[22] S. I. Abba, R. A. Abdulkadir, S. Sh. Sammen, A. G. Usman, S. G. Meshram, A. Malik & S. Shahid “Comparative implementation between neuro-emotional genetic algorithm and novel ensemble computing techniques for modelling dissolved oxygen,” Hydrological Sciences Journal, vol. 66, no. 10, 1584–1596. https://doi.org/10.1080/02626667.2021.1937179.
[23] R.P. Shete, C. A. Shekhar, Y. Mahajan et al. “IoT-driven ensemble machine learning model for accurate dissolved oxygen prediction in aquaculture. Discover Internet of Things,” Discov Internet Things, vol. 5, no. 94, 2025. https://doi.org/10.1007/s43926-025-00201-w.
[24] Z. Dong, W. Chen & S. Wang “Emission reduction target, complexity and industrial performance,” Journal of Environmental Management, vol. 260, 110148, 2020. https://doi.org/10.1016/j.jenvman.2020.110148.
[25] B. E. Birihanu, B. M. Beyene & B. B. Adamu “Intelligent water quality monitoring using WSN and machine learning approaches” in Proceedings of ICISDM 2023, Atlanta. https://doi.org/10.1145/3603765.3603766.
[26] R. Bogdan, C. Paliuc, M. Crisan-Vida, S. Nimara & D. Barmayoun “Low-cost Internet-of-Things water-quality monitoring system for rural areas” Sensors, vol. 23, no. 8, 3919, 2023. https://doi.org/10.3390/s23083919.
[27] W. Chen, D. Xu, B. Pan, Y. Zhao & Y. Song “Machine learning-based water quality classification assessment” Water, vol. 16, no. 20, 2951, 2024. https://doi.org/10.3390/w16202951.