Water Quality Prediction Using Combined Model of Convolutional Neural Network and Long Short-Term Memory

Authors

  • Raju Amireddy, Dileep Pulugu

Keywords:

Classification, Combined model, Dynamic particle swarm optimization, Prediction, Water quality

Abstract

In recent decades, the quality of water is affected due to contamination and pollution of water bodies. The existing techniques face issues related to poor water quality prediction with less accuracy. This research focusses on an effective water quality classification framework by predicting it as safe or unsafe. Initially, the data is acquisitioned from Kaggle and it is subjected to the stage of pre-processing using standard scalar. The pre-processed output is provided for feature selection takes place using dynamic Particle Swarm Optimization (PSO). After this, the classification is performed using combined method of Convolutional Neural Network and Long Short-Term Memory (CNN-LSTM). The CNN acts as front end of model which processes the input features based on non-linear characteristics and LSTM acts as the back end which receives the abstracted data that helps in predicting the water quality as safe or unsafe. The outcome through the experimental validation shows that the suggested framework achieves prediction accuracy of 99.99% which is comparably higher than ensemble model with classification accuracy of 98.1%.

Downloads

Download data is not yet available.

References

N. H. A. Malek, W. W. F. Yaacob, S. A. Md Nasir, and N. Shaadan, “Prediction of Water Quality Classification of the Kelantan River Basin, Malaysia, Using Machine Learning Techniques,” Water, vol. 14, p. 1067, Mar. 2022, https://doi.org/10.3390/w14071067.

Q. B. Pham, R. Mohammadpour, N. T. T. Linh, M. Mohajane, A. Pourjasem, S. S. Sammen, D. T. Anh, and V. T. Nam, “Application of soft computing to predict water quality in wetland,” Environ. Sci. Pollut. Res., vol. 28, no. 1, pp. 185-200, Jan. 2021, https://doi.org/10.1007/s11356-020-10344-8.

S. Park, S. Jung, H. Lee, J. Kim, and J. -H. Kim, “Large-Scale Water Quality Prediction Using Federated Sensing and Learning: A Case Study with Real-World Sensing Big-Data,” Sensors, vol. 21, no. 4, p. 1462, Jan. 2021, https://doi.org/10.3390/s21041462.

B. Sakaa, A. Elbeltagi, S. Boudibi, H. Chaffaï, A. R. M. T. Islam, L. C. Kulimushi, P. Choudhari, A. Hani, Y. Brouziyne, and Y. J. Wong, “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, vol. 29, no. 32, pp. 48491-48508, Jul. 2022, https://doi.org/10.1007/s11356-022-18644-x.

T. P. Latchoumi, K. Raja, Y. Jyothi, K. Balamurugan, and R. Arul, “Mine safety and risk prediction mechanism through nanocomposite and heuristic optimization algorithm,” Meas.: Sens., vol. 23, p. 100390, Oct. 2022, https://doi.org/10.1016/j.measen.2022.100390.

P. Chen, B. Wang, Y. Wu, Q. Wang, Z. Huang, and C. Wang, “Urban river water quality monitoring based on self-optimizing machine learning method using multi-source remote sensing data,” Ecol. Indic., vol. 146, p. 109750, Feb. 2023, https://doi.org/10.1016/j.ecolind.2022.109750.

J. Zhang, T. Zou, and Y. Lai, “Novel method for industrial sewage outfall detection: Water pollution monitoring based on web crawler and remote sensing interpretation techniques,” J. Cleaner Prod., vol. 312, p. 127640, Aug. 2021, https://doi.org/10.1016/j.jclepro.2021.127640.

R. Bogdan, C. Paliuc, M. Crisan-Vida, S. Nimara, and D. Barmayoun, “Low-Cost Internet-of-Things Water-Quality Monitoring System for Rural Areas,” Sensors, vol. 23, p. 3919, Apr. 2023, https://doi.org/10.3390/s23083919.

T. Selmane, M. Dougha, S. Djerbouai, Djamaleddine djemiat, and N. Lemouari, “Groundwater quality evaluation based on water quality indices (WQI) using GIS: Maadher plain of Hodna, Northern Algeria,” Environ. Sci. Pollut. Res., vol. 30, no. 11, pp. 30087-30106, Mar. 2023, https://doi.org/10.1007/s11356-022-24338-1.

M. A. K. Fasaee, E. Berglund, K.J. Pieper, E. Ling, B. Benham, and M. Edwards, “Developing a framework for classifying water lead levels at private drinking water systems: A Bayesian Belief Network approach,” Water. Res., vol. 189, p. 116641, Feb. 2021, https://doi.org/10.1016/j.watres.2020.116641.

Z. Wang, Q. Wang, and T. Wu, “A novel hybrid model for water quality prediction based on VMD and IGOA optimized for LSTM,” Front. Environ. Sci. Eng., vol. 17, no. 7, p. 88, Feb. 2023, https://doi.org/10.1007/s11783-023-1688-y.

R. Tan, Z. Wang, T. Wu, and J. Wu, “A data-driven model for water quality prediction in Tai Lake, China, using secondary modal decomposition with multidimensional external features,” J. Hydrol.: Reg. Stud., vol. 47, p. 101435, Jun. 2023, https://doi.org/10.1016/j.ejrh.2023.101435.

S. Yang, Shaojun, S. Zhong, and K. Chen, “W-WaveNet: A multi-site water quality prediction model incorporating adaptive graph convolution and CNN-LSTM,” Plos one, vol. 19, no. 3, p. e0276155, Mar. 2024, https://doi.org/10.1371/journal.pone.0276155.

H. Ghosh, M. A. Tusher, I. S. Rahat, S. Khasim, and S. N. Mohanty, “Water Quality Assessment Through Predictive Machine Learning,” in International Conference on Intelligent Computing and Networking, Proceedings of IC-ICN 2023, Springer Nature, Singapore, 2023, pp. 77-88, https://doi.org/10.1007/978-981-99-3177-4_6.

L. Chen, T. Wu, Z. Wang, X. Lin, and Y. Cai, “A novel hybrid BPNN model based on adaptive evolutionary Artificial Bee Colony Algorithm for water quality index prediction,” Ecol. Indic., vol. 146, p. 109882, Feb. 2023, https://doi.org/10.1016/j.ecolind.2023.109882.

M. Y. Shams, A. M. Elshewey, E. -S. M. El-kenawy, A. Ibrahim, F. M. Talaat, and Z. Tarek, “Water quality prediction using machine learning models based on grid search method,” Multimedia Tools Appl., vol. 83, no. 12, pp. 35307-35334, Apr. 2024, https://doi.org/10.1007/s11042-023-16737-4.

E. Dritsas and M. Trigka, “Efficient Data-Driven Machine Learning Models for Water Quality Prediction,” Sensors, vol. 23, p. 1161, Jan. 2023, https://doi.org/10.3390/computation11020016.

M. I. Shah, M. F. Javed, A. Alqahtani, and A. Aldrees, “Environmental assessment based surface water quality prediction using hyper-parameter optimized machine learning models based on consistent big data,” Process Saf. Environ. Prot., vol. 151, pp. 324-340, Jul. 2021, https://doi.org/10.1016/j.psep.2021.05.026.

A. Bhardwaj, V. Dagar, M. O. Khan, A. Aggarwal, R. Alvarado, M. Kumar, M. Irfan, and R. Proshad, “Smart IoT and machine learning-based framework for water quality assessment and device component monitoring”, Environ. Sci. Pollut. Res., vol. 29, no. 30, pp. 46018-46036, Jun. 2022, https://doi.org/10.1007/s11356-022-19014-3.

S. Singha, S. Pasupuleti, S. S. Singha, R. Singh, and S. Kumar, “Prediction of groundwater quality using efficient machine learning technique,” Chemosphere, vol. 276, p. 130265, Aug. 2021, https://doi.org/10.1016/j.chemosphere.2021.130265.

M. M. Hassan, M. M. Hassan, L. Akter, M. M. Rahman, S. Zaman, K. M. Hasib, N. Jahan, R. N. Smrity, J. Farhana, M. Raihan, and S. Mollick, “Efficient prediction of water quality index (WQI) using machine learning algorithms”, Human-Centric Intelligent Systems, vol. 1, no. 3, pp. 86-97, Dec. 2021, https://doi.org/10.2991/hcis.k.211203.001.

Link for dataset: https://www.kaggle.com/datasets/mssmartypants/water-quality

Downloads

Published

23.07.2024

How to Cite

Raju Amireddy. (2024). Water Quality Prediction Using Combined Model of Convolutional Neural Network and Long Short-Term Memory. International Journal of Intelligent Systems and Applications in Engineering, 12(4), 1828–1836. Retrieved from https://www.ijisae.org/index.php/IJISAE/article/view/6502

Issue

Section

Research Article

Similar Articles

You may also start an advanced similarity search for this article.