IJMEMES logo

International Journal of Mathematical, Engineering and Management Sciences

ISSN: 2455-7749


SVM Model to Predict the Water Quality Based on Physicochemical Parameters

SVM Model to Predict the Water Quality Based on Physicochemical Parameters

Manisha Koranga
Department of Information Technology, D. S. B. Campus, Nainital, Uttarakhand, India.

Pushpa Pant
Department of Geography, M. B. Government P.G. College, Haldwani, Uttarakhand, India.

Durgesh Pant
School of Computer Sciences & Information Technology, Uttarakhand Open University, Haldwani, Uttarakhand, India.

Ashutosh Kumar Bhatt
Department of Computer Science, Birla Institute of Applied Sciences Bhimtal, Uttarakhand, India.

R. P. Pant
Department of Allied Sciences, Graphic Era Hill University, Bhimtal Campus, Bhimtal, Uttarakhand, India.

Mangey Ram
Department of Mathematics; Computer Science and Engineering, Graphic Era Deemed to be University, Dehradun, Uttarakhand, India.

Tarun Kumar
Department of Chemistry, M. B. Government P. G. College, Haldwani, Uttarakhand, India.

DOI https://doi.org/10.33889/IJMEMS.2021.6.2.040

Received on October 12, 2020
  ;
Accepted on January 05, 2021

Abstract

Analysis of water quality is a very important and challenging task in the management of water bodies and requires immediate attention as it adversely affects the health of living beings. Three parameters namely, pH, Total Dissolved Solids (TDS), and Turbidity were used for data analysis. In this study for mapping of training samples from input space to higher dimensional feature space, LibSVM, (a library of SVM) was used with the use of two kernel function types Radial Basis Function and Polynomial function. For performing the experiment, the three parameter combinations (C, d, ϒ) were evaluated based upon the kernel by taking various range values to obtain the best type of kernel functions through a 10-fold cross-validation process. After performing all experiments, a comparative analysis was done to evaluate the best parameter combination (C, d, ϒ) and the values of performance measures. The result shows that the optimum model developed using LibSVM with the use of Polynomial Kernel function which gives an accuracy of 99.434% in predicting water quality.

Keywords- Support vector machine, Water quality, LibSVM, Kernel functions, Nainital lake.

Citation

Koranga, M., Pant, P., Pant, D., Bhatt, A. K., Pant, R. P., Ram, M., & Kumar, T. (2021). SVM Model to Predict the Water Quality Based on Physicochemical Parameters. International Journal of Mathematical, Engineering and Management Sciences, 6(2), 645-659. https://doi.org/10.33889/IJMEMS.2021.6.2.040.

Conflict of Interest

The authors confirm that there is no conflict of Interest to publish the paper in the journal.

Acknowledgements

The authors thanks to the Uttarakhand Science Education and Research Centre (USERC), Dehradun, Uttarakhand, India and Jal Sansthan Nainital, Uttarakhand, India for their support.

References

Adnan, R.M., Yuan, X., Kisi, O., & Yuan, Y. (2017). Stream flow forecasting using artificial neural network and support vector machine models. American Scientific Research Journal for Engineering, Technology, and Sciences, 29(1), 286-294.

Chang, C.C., & Lin, C.J. (2011). LIBSVM: a library for support vector machines. ACM Transactions on Intelligent Systems and Technology, 2(27) 1-27. http://www.csie.ntu.edu.tw/~ cjlin/libsvm, 2.

Dalakoti, H., Mishra, S., Chaudhary, M., & Singal, S.K. (2018). Appraisal of water quality in the lakes of Nainital district through numerical indices and multivariate statistics, India. International Journal of River Basin Management, 16(2), 219-229.

Goutte, C., & Gaussier, E. (2005, March). A probabilistic interpretation of precision, recall and F-score, with implication for evaluation. In Proceedings of the European Conference on Information Retrieval (Vol. 27, pp. 345-359). Springer, Berlin, Heidelberg.

Haghiabi, A.H., Nasrolahi, A.H., & Parsaie, A. (2018). Water quality prediction using machine learning methods. Water Quality Research Journal, 53(1), 3-13.

Ji, X., Shang, X., Dahlgren, R.A., & Zhang, M. (2017). Prediction of dissolved oxygen concentration in hypoxic river systems using support vector machine: a case study of Wen-Rui Tang River, China. Environmental Science and Pollution Research, 24, 16062-16076.Doi: org/10.1007/s11356-017-9243-7.

Kara, Y., Boyacioglu, M.A., & Baykan, Ö.K. (2011). Predicting direction of stock price index movement using artificial neural networks and support vector machines: the sample of the Istanbul Stock Exchange. Expert Systems with Applications, 38(5), 5311-5319.

Lerios, J.L., & Villarica, M.V. (2019). Pattern extraction of water quality prediction using machine learning algorithms of water reservoir. International Journal of Mechanical Engineering and Robotics Research, 8(6), 992-997.

Liao, Y., Xu, J.Y., & Wang, Z.W. (2011). A method of water quality assessment based on biomonitoring and multiclass support vector machine. Procedia Environmental Sciences, 10, Part A, 451-457.

Liao, Y., Xu, J.Y., & Wang, Z.W. (2012). Application of biomonitoring and support vector machine in water quality assessment. Journal of Zhejiang University Science B, 13(4), 327-334.

Nainital Lake image source: https://www.postoast.com/nainital-lake.

Nollet, L.M.L. (2000). Handbook of water analysis. Marcel Dekker, New York.

Pareek, R.K., Khan, A.S., Srivastva, P., & Roy, S. (2018). Assessment of physicochemical properties of Ghaggar river. Journal Biological Chemical Chronicles, 4(1), 19-25.

Sarkar, A., & Pandey, P. (2015). River water quality modelling using artificial neural network technique. Aquatic Procedia, 4, 1070-1077.

Sharma, M. (2014). Water quality assessment of the central Himalayan lake, Nainital. Advances in Environmental Chemistry, 2014, Article ID 473074, https://doi.org/10.1155/2014/473074.

Sokolova, M., Japkowicz, N., Szpakowicz, S. (2006). Beyond accuracy, F-score and ROC: a family of discriminant measures for performance evaluation. In: Sattar A., Kang B. (eds) AI 2006: Advances in Artificial Intelligence. AI 2006. Lecture Notes in Computer Science, vol 4304. Springer, Berlin, Heidelberg. DOI: org/10.1007/11941439_114.

Tadesse, M., Tsegaye, D., & Girma, G. (2018). Assessment of the level of some physico-chemical parameters and heavy metals of Rebu river in Oromia region, Ethiopia. MOJ Biology and Medicine, 3(4), 99-118.

Tan, G., Yan, J., Gao, C., & Yang, S. (2012). Prediction of water quality time series data based on least squares support vector machine. Procedia Engineering, 31, 1194-1199.

Tarmizi, A., Ahmed, A.N., & El-Shafie, A. (2014). Dissolved oxygen prediction using support vector machine in Terengganu River. Middle-East Journal of Scientific Research, 21(11), 2182-2188.

Tong, S., & Koller, D. (2001). Support vector machine active learning with applications to text classification. Journal of Machine Learning Research, 2, 45-66.

Vapnik, V., & Chervonenkis, A. (1971). On the uniform convergence of relative frequencies of events to their probabilities. Theory of Probability & its Applications, 16(2), 264-280.

Yahya, A.S.A., Ahmed, A.N., Othman, F.B., Ibrahim, R.K., Afan, H.A., El-Shafie, A., Fai, C.M., Hossain, M.S., Ehteram, M., & Elshafie, A. (2019). Water quality prediction model-based support vector machine model for ungauged river catchment under dual scenarios. Water, 11(6), 1231.

Zhang, L., Zou, Z., & Shan, W. (2017). Development of a method for comprehensive water quality forecasting and its application in Miyun reservoir of Beijing, China. Journal of Environmental Sciences, 56, 240-246. DOI: org/10.1016/j.jes.2016.07.017.