Research Article

Water Pollution Prediction Based on Deep Belief Network in Big Data of Water Environment Monitoring

Algorithm 1

Pseudocode of PSO algorithm.
(1)Parameter: :The population size of the particle swarm; :The maximum number of iterations.
(2)Begin
(3)Initialize the particle’s position and velocity .
(4)The root mean square error (RMSE) between the predicted value and the expected value is used to find the optimal position and the global optimal position of each particle.
(5)Update speed and position information. Calculate and update the speed and position information of the particles according to the speed update formula and the position update formula:
(6)If RMSE convergence and then PSO algorithm ends;
(7)otherwise , return to step 3.
(8)End