Application of Improved Particle Swarm Optimization SVM in Water Quality Evaluation of Ming Cui Lake
Zunyang Zhang,Cheng Yang,Qiao Qiao,Xuesheng Li,Fuping Wang,Chengcheng Li
DOI: https://doi.org/10.3390/su15129835
IF: 3.9
2023-06-21
Sustainability
Abstract:Water quality directly determines our living environment. In order to establish a more scientific and reasonable water quality evaluation model, it needs a lot of data support, but it will lead to a large increase in the calculation time of the evaluation model. This paper proposes an improved particle swarm optimization SVM model (CPOS-SVM) to solve this problem. In this paper, the Pareto optimal solution concept is used to sparsely process the training set, which can ensure that the number of training sets is reduced without loss of data characteristics, thus reducing the training time. In order to solve the problem of the kernel parameter g and penalty factor c on the SVM algorithm, which affects the accuracy of the SVM model but it is difficult to select why, a particle swarm optimization algorithm is used in this paper to optimize the kernel parameter and penalty factor and improve the accuracy of the model. In this paper, 480 sets of data from Ming Cui Lake from 2014 to 2022 are taken as the research object, and examples are analyzed in MATLAB 2020a. The results show that the training time of the CPOS-SVM model can be completed within 2 s and does not increase with the increase of data volume. Meanwhile, by comparing the SVM model, POS-SVM model, and POS-BP model, training time increases dramatically with the amount of data. The accuracy of the POS-SVM model is the highest, and the accuracy of the CPOS-SVM model is basically consistent with that of the POS-SVM, reaching 94%, while the accuracy of the SVM model and the POS-BP model are slightly worse. This indicates that the CPOS-SVM model has good application value in water quality evaluation.
environmental sciences,environmental studies,green & sustainable science & technology