Implementation of Long-Short Term Memory Neural Network (LSTM) for Predicting The Water Quality Parameters in Sungai Selangor

Authors

  • Nur Natasya Mohd Anuar Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, Perlis Branch, Arau Campus
  • Nur Fatihah Fauzi Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, Perlis Branch, Arau Campus
  • Huda Zuhrah Ab Halim Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, Perlis Branch, Arau Campus
  • Nur Izzati Khairudin Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, Perlis Branch, Arau Campus
  • Nurizatul Syarfinas Ahmad Bakhtiar Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, Perlis Branch, Arau Campus
  • Nor Hayati Shafii Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, Perlis Branch, Arau Campus

DOI:

https://doi.org/10.24191/jcrinn.v6i4.243

Keywords:

LSTM, water quality parameters, artificial neural network, monitoring stations, prediction model

Abstract

Predictions of future events must be factored into decision-making. Predictions of water quality are critical to assist authorities in making operational, management, and strategic decisions to keep the quality of water supply monitored under specific criteria. Taking advantage of the good performance of long short-term memory (LSTM) deep neural networks in time-series prediction, the purpose of this paper is to develop and train a Long-Short Term Memory (LSTM) Neural Network to predict water quality parameters in the Selangor River. The primary goal of this study is to predict five (5) water quality parameters in the Selangor River, namely Biochemical Oxygen Demand (BOD), Ammonia Nitrogen (NH3-N), Chemical Oxygen Demand (COD), pH, and Dissolved Oxygen (DO), using secondary data from different monitoring stations along the river basin. The accuracy of this method was then measured using RMSE as the forecast measure. The results show that by using the Power of Hydrogen (pH), the dataset yielded the lowest RMSE value, with a minimum of 0.2106 at station 004 and a maximum of 1.2587 at station 001. The results of the study indicate that the predicted values of the model and the actual values were in good agreement and revealed the future developing trend of water quality parameters, showing the feasibility and effectiveness of using LSTM deep neural networks to predict the quality of water parameters.

Downloads

Download data is not yet available.

References

Bloesch, J., Sandu, C., & Janning, J. (2012). Integrative water protection and river basin management policy: The Danube case. River Systems, 20(1), 129–144. https://doi.org/10.1127/1868-5749/2011/0032

Chapman, D. V., Bradley, C., Gettel, G. M., Hatvani, I. G., Hein, T., Kovács, J., Liska, I., Oliver, D. M., Tanos, P., Trásy, B., & Várbíró, G. (2016). Developments in water quality monitoring and management in large river catchments using the Danube River as an example. Environmental Science & Policy, 64, 141–154. https://doi.org/10.1016/j.envsci.2016.06.015

Gazzaz, N. M., Yusoff, M. K., Aris, A. Z., Juahir, H., & Ramli, M. F. (2012a). Artificial neural network modeling of the water quality index for Kinta River (Malaysia) using water quality variables as predictors. Marine Pollution Bulletin, 64(11), 2409–2420. https://doi.org/10.1016/j.marpolbul.2012.08.005

Hayder, G., Kurniawan, I., & Mohamammed Mustafa, H. (2020). Implementation of Machine Learning Methods for Monitoring and Predicting Water Quality Parameters. Biointerface Research in Applied Chemistry, 11(2), 9285–9295. https://doi.org/10.33263/briac112.92859295

Huang, Y. F., Ang, S. Y., Lee, K. M., & Lee, T. S. (2015). Quality of Water Resources in Malaysia. Research and Practices in Water Quality, 65–94. https://doi.org/10.5772/58969

Khashei, M., & Bijari, M. (2010). An artificial neural network (p,d,q) model for timeseries forecasting. Expert Systems with Applications, 37(1), 479–489. https://doi.org/10.1016/j.eswa.2009.05.044

Lee, S., & Lee, D. (2018). Improved Prediction of Harmful Algal Blooms in Four Major South Korea’s Rivers Using Deep Learning Models. International Journal of Environmental Research and Public Health, 15(7), 1322. https://doi.org/10.3390/ijerph15071322

Liu, P., Wang, J., Sangaiah, A., Xie, Y., & Yin, X. (2019). Analysis and Prediction of Water Quality Using LSTM Deep Neural Networks in IoT Environment. Sustainability, 11(7), 2058. https://doi.org/10.3390/su11072058

Maier, H. R., Jain, A., Dandy, G. C., & Sudheer, K. P. (2010). Methods used for the development of neural networks for the prediction of water resource variables in river systems: Current status and future directions. Environmental Modelling & Software, 25(8), 891–909. https://doi.org/10.1016/j.envsoft.2010.02.003

Santhi, V. A., & Mustafa, A. M. (2012). Assessment of organochlorine pesticides and plasticisers in the Selangor River basin and possible pollution sources. Environmental Monitoring and Assessment, 185(2), 1541–1554. https://doi.org/10.1007/s10661-012-2649-2

Wu, Y.-, & Feng, J.-. (2017). Development and Application of Artificial Neural Network. Wireless Personal Communications, 102(2), 1645–1656. https://doi.org/10.1007/s11277-017-5224-x

Wang, Y., Zhou, J., Chen, K., Wang, Y., & Liu, L. (2017). Water quality prediction method based on LSTM neural network. 2017 12th International Conference on Intelligent Systems and Knowledge Engineering (ISKE). Published. https://doi.org/10.1109/iske.2017.8258814

Zhou, J., Wang, Y., Xiao, F., Wang, Y., & Sun, L. (2018). Water Quality Prediction Method Based on IGRA and LSTM. Water, 10(9), 1148. https://doi.org/10.3390/w10091148

Downloads

Published

2021-09-20

How to Cite

Mohd Anuar, N. N. ., Fauzi, N. F. ., Ab Halim, H. Z. ., Khairudin, N. I. ., Ahmad Bakhtiar, N. S. ., & Shafii, N. H. . (2021). Implementation of Long-Short Term Memory Neural Network (LSTM) for Predicting The Water Quality Parameters in Sungai Selangor. Journal of Computing Research and Innovation, 6(4), 40–49. https://doi.org/10.24191/jcrinn.v6i4.243

Most read articles by the same author(s)