Daily Water Quality Forecast of the South-To-North Water Diversion Project of China Based on the Cuckoo Search-Back Propagation Neural Network

Water quality forecast is a critical part of water security management. Spatiotemporal and multifactorial variations make water quality very complex and changeable. In this article, a novel model, which was based on back propagation neural network that was optimized by the Cuckoo Search algorithm (hereafter CS-BP model), was applied to forecast daily water quality of the Middle Route of South-to-North Water Diversion Project of China. Nine water quality indicators, including conductivity, chlorophyll content, dissolved oxygen, dissolved organic matter, pH, permanganate index, turbidity, total nitrogen, and water temperature were the predictand. Seven external environmental factors, including air temperature, five particulate matter (PM2.5), rainfall, sunshine duration, water flow, wind velocity, and water vapor pressure were the default predictors. A data pre-processing method was applied to select pertinent predictors. The results show that the CS-BP model has the best forecast accuracy, with the Mean Absolute Percentage Errors (MAPE) of 0.004%–0.33%, and the lowest Root Mean Square Error (RMSE) of each water quality indicator in comparison with traditional Back Propagation (BP) model, General Regression Neural Network model and Particle Swarm Optimization-Back Propagation model under default data proportion, 150:38 (training data: testing data). When training data reduced from 150 to 140, and from 140 to 130, the CS-BP model still produced the best forecasts, with the MAPEs of 0.014%–0.057% and 0.004%–1.154%, respectively. The results show that the CS-BP model can be an effective tool in daily water quality forecast with limited observed data. The improvement of the Cuckoo Search algorithm such as calculation speed, the forecast errors reduction of the CS-BP model, and the large-scale impacts such as land management on different water quality indicators, will be the focus of future research.


Introduction
Water pollution and deteriorating water quality have become serious threats to humans and the ecosystem [1].A report from the United Nations in 2018 revealed that more than 1 billion people in developing countries have had to drink unsafe water every day in the past decade, and China accounts for 280 million people [2].The demand of human societies for water environmental protection water quality improvement is increasing day by day.For instance, according to the strictest water resources management system of China, the water quality compliance rate of important water functional areas of China needs to reach more than 95% in 2030 [3].The research on establishing efficient and accurate water quality forecast models has become a hotspot of water environmental science in recent years [4].Water quality forecast models are mathematical models that describe the processes of transport and fate of physical, chemical and biological water bodies, the internal laws and relationships of pollutants or water quality indicators with mathematical methods [5].Many models and methods have previously been applied to forecast water quality in previous research [6].According to different theoretical bases, these models can be divided into the mechanism model and non-mechanism model [7].
The mechanism models were also called the classical water quality forecast models, which were established using the motion equation, the continuity equation, and the energy equation of the hydrodynamics.In previous research, various mechanism models have been built and applied in different cases [8].It is believed that mechanism models can describe the processes of transport and the fate of physical, chemical and biological water quality indicators or pollutants in water bodies more clearly than the non-mechanism model.However, the models always require more reliable and observed data to determine.In addition, the variations of water quality indicators pollutants are affected by many factors with strong nonlinear and uncertainty characteristics.Therefore, mechanism models are always limited in some complex water bodies [9].
The non-mechanism models mainly use some data mining methods to set up different mathematical models to forecast water quality indicators or the transport and fate of some pollutants.Many water quality forecast cases proved that using non-mechanism models, such as Artificial Neural Network (ANN) [10], grey prediction model [11] and support vector machine [12] can have good forecast performance under the conditions of complex or unstable boundary conditions and limited observation data.As a part of the application of machine learning and artificial intelligence, the research on using ANN models for water quality forecasting is a hotspot in water quality modeling.Compared with mechanism models, the advantage of the ANN models is that they do not require a large number of basic parameters of rivers or canals to determine, and the processes of modeling and forecasting of those models were simpler and faster than mechanism models [13].Many methods have also been proposed to improve the forecast accuracy and discuss the impacts of ANN models in water quality forecast.Forecasting of water quality is still challenging, and further research is still required.
The main objective of this research is to study the application of the ANN models that are optimized by the Cuckoo Search algorithm to forecast the water quality of the Middle Route (MR) of the South-North Water Diversion Project of China (SNWDPC) in an operation period, 2013.The forecast accuracy of water quality indicators of the SNWDPC MR was the main problem.In this article, the back propagation neural network that optimized by the Cuckoo Search algorithm (CS-BP) has been compared with three different models (i.e., the traditional BP model, the General Regression Neural Network model, and the Particle Swarm Optimization-Back Propagation) during a temporary operation period of the SNWDPC MR.The remaining sections of this paper are organized as follows: Section 2 presents relevant literature.Section 3 introduces the methodology and the CS-BP model.The data description, data pre-processing method, and simulation setting are presented in Section 4. Section 5 shows forecast results and the discussion of this study.The conclusion is presented in Section 6.

Literature Review
In this article, the mechanism models and the non-mechanism models of water quality forecast, the application of Back Propagation Neural Network in water quality forecast, and the Cuckoo Search algorithm are considered.The relevant literature is reviewed below.

The Mechanism Models of Water Quality Forecast
The "mechanism models" were also called the classical water quality forecast models, which were based on the theory of Law of Energy Conservation and the Law of Mass Conservation.The mechanism models were established using the motion equation, the continuity equation and the energy equation of the hydrodynamics.The one-dimensional steady-state oxygen balance model which was established by H Streeter and E Phelps is regarded as the earliest water quality model that has been widely applied to dissolved oxygen calculation in many study cases [14].The United States Environmental Protection Agency (USEPA) established a series of QUAL models that can be used to forecast many water quality indicators such as dissolved oxygen, chlorophyll content, and ammonia nitrogen [15].The Water Quality Analysis Simulation Program (WASP) model was proposed by the USEPA that can simulate the processes of steady and unsteady water quality and forecast various natural and man-made pollution in rivers, lakes, reservoirs, estuaries and other water bodies [16].The Mike model system was developed by the Danish Hydrodynamic Research and Calculation (DHI) that can forecast various water quality indicators such as total nitrogen, total phosphorus, and dissolved oxygen under different types of hydrodynamic conditions [17].In recent years, many new water quality models have been proposed that combined the "5S" technology (remote sensing technology, expert system, global positioning system, geographic information system (GIS) and 3D analysis visualization technology ) with water quality models, such as the Better Assessment Science Integrating Point and Non-point Sources (BASINS) model system and Watershed Analysis Risk Management Framework (WARMF) model, to discuss the large-scale basin and land management impacts on water quality [18].In addition to these developed models mentioned above, other mechanism models have also been proposed for specific research cases [19].The mechanism models of water quality forecast are applicable to simulate and forecast various water quality indicators and pollutants in different water bodies such as rivers, lakes and estuaries.With sufficient observed data, reasonable assumptions and stable boundary conditions, the forecast results of mechanism models are ideal.However, different water quality indicators have strong non-linear characteristics due to the influence of various factors such as physics, chemistry, biology, meteorology and hydraulics, some weaknesses of mechanism models still limit their application such as data dependence, versatility limitations.
The boundary conditions of each section of the MR were complex and changeable, in addition, the parameters of the MR cannot be monitored and updated by a third-party research group in real time, all these limitations make the forecast accuracy of the mechanism models would be reduced greatly in the SNWDPC MR.In this article, we mainly study on the application of the CS-BP model that as a non-mechanism model under a complex and changeable condition with limited observed data, the mechanism modeling will be studied in further research.

The Non-Mechanism Models of Water Quality Forecast
The non-mechanism models were based on mathematical statistics or other mathematical methods such as data mining technology to set up different mathematical models to forecast water quality indicators or the pollutants in water bodies [20].Many non-mechanism models have been proposed to overcome the difficulty of forecast modeling in complex water quality systems in the past decade, including the artificial neural network models, grey prediction models, and support vector machine, etc. [21].The ANN models were most widely used in many water quality forecast cases due to their capability of dealing with complex information, adaptability and learning ability.Khalil applied an ANN model to forecast the dissolved oxygen, biological oxygen demand, and chemical oxygen demand in the Nile Delta, the results were more accurate than the Linear Regression Models [22].Nasir found that using ANN combined with sensitivity analysis methods for surface water quality forecast would be more effective than mechanism models in the Juru River, Malaysia [23].Grey prediction models take the system with incomplete information as a research object, and study the system change rule through analyzing original data.Zhong used a GM(1,1) model to forecast pH, dissolved oxygen in Tien Lake, China, and the results showed that the model can improve the water quality forecast precision in a natural water body [24].The support vector machine models have great advantages in solving the problems of limited samples, non-linearity, and high-dimensional pattern recognition.Zhang proposed a method that combined support vector machine with the wavelet neural network to forecast water quality indicators in Miyun reservoir in Beijing, China, the forecast results indicated that the model can be applied to water quality forecasting effectively [25].Wang constructed a hybrid model using a support vector machine and particle swarm optimization to forecast river water quality; the results showed that the model can achieve a better forecast performance than traditional BP [26].
The advantage of the non-mechanical models is that it can make full use of the relationship between monitoring data and predicted objects, and has a simpler and clearer modeling process.In this article, we mainly discussed the ANN model and its application in water quality forecast.

The Back Propagation Neural Network of Water Quality Forecast
Back Propagation Neural Network (hereafter BP) is a typical kind of ANN with strong capability to handle complex data information and relationship, such as the sustainable availability of crop residues from the field [27], and soil quality [28].Many BP models have been applied to solve various water quality forecast cases [29].Ding applied BP for water quality forecast in Qiantang River, China, and the results showed that the forecast accuracy can be improved more effectively than the one-dimension water quality models [30].Yan proposed an improved BP model for dissolved oxygen forecasting, the results showed that the forecast data could fit the real monitored data very well [31].Tian constructed a BP model to forecast the ammonia nitrogen, dissolved oxygen in a reservoir, and the forecast accuracy and reliability were satisfactory [32].However, due to random initial parameters and complex topology structure, traditional BP models have some intrinsic drawbacks such as calculation instability and low convergence efficiency, which will reduce the forecast accuracy of the models.Numerous different evolutionary algorithms have been proposed to overcome the computational instability and low convergence problem of traditional BP, such as the Genetic Algorithm [33], the Particle Swarm Optimization [34] and the Artificial Bee Colony [35].Although using some original optimization algorithms can improve the calculation speed and accuracy of the BP to some extent, there still various drawbacks in some of the original evolutionary algorithms, such as complex coding structure or poor convergence.
This article applied a new model that using the new meta-heuristic Cuckoo Search algorithm to optimize the traditional BP network, called the CS-BP model, to improve the calculation efficiency and overcome the original drawbacks of traditional BP.In order to test the improvement degree of the Cuckoo Search algorithm to the BP model, the Particle Swarm Optimization-Back Propagation model was set as a comparison with the CS-BP model in this article.

The Cuckoo Search Algorithm
Cuckoo Search algorithm is a novel meta-heuristic algorithm proposed by Yang and Deb in 2009 [36].The CS algorithm solves optimization problems by simulating the breeding behavior of cuckoo's parasitic brood and Lévy flight.The Lévy flight operator makes the solutions generated diverse enough to avoid the CS falling into local optimum easily, and the Random Walk operator ensures the convergence and local optimization ability of the algorithm [37].The combination of Lévy flight and Random Walk ensures that the Cuckoo Search has the advantages of high global search efficiency, few model parameters, strong robustness, simple coding structure, and fast calculation speed [38].The CS algorithm has now been applied to solve various kinds of optimization problems, such as Proportional-Integral-Derivative (PID) control [39], defect estimation [40], shop scheduling problems [41], and wind speed forecasting [42].The previous study has shown that the CS is a very promising algorithm and it can be superior to existing popular algorithms, such as the Genetic Algorithm, the Particle Swarm Optimization, and the Artificial Bee Colony algorithm in terms of operation speed and calculation accuracy in a large number of function tests and case applications [43].However, few studies, to our knowledge, have used such a high-efficiency algorithm to optimize the BP model and applied the improved model to forecast water quality.
In this article, we utilized the CS to optimize the traditional BP model.The application of the CS-BP model in daily water quality forecast of the South-to-North Water Diversion Project of China and the forecast performance would be the focus.

Traditional Back Propagation Neural Network
Back Propagation Neural Network (BPNN) is a multi-layer feedforward neural network, the signals of which are transmitted forward and errors are propagated backward.In the signal forward transmission, the input signal is processed layer by layer from the input layer through the hidden layer until it is transmitted to the output layer.If the output layer does not get the desired output, the error will be transferred to back propagation.This process adjusts the network weights and thresholds according to the forecast error to complete the construction of BP neural network.There are numerous application cases of BP models for water quality forecast in lake, river, reservoir, and other water bodies.The structure of BP model has three layers, namely input layer, hidden layer, and output layer.The BP model needs to be trained before forecast, and the training process includes the following steps: (1) Initialize the BP network parameters.The input layer is denoted as X = (x 1 , x 2 , . . .x n ); the output layer is denoted as Y = (y 1 , y 2 , . . .y m ); the hidden layer is denoted as H = (h 1 , h 2 , . . .h l ); the connection weights between the input layer and the hidden layer is denoted as w ij ; the connection weights between the hidden layer and the output layer is denoted as w jk ; the threshold of the hidden layer is denoted as a, a = (a 1 , a 2 , . . .a l ); the threshold of the output layer is denoted as b, b = (b 1 , b 2 , . . .b m ); the learning rate and neuron excitation function is given in conjunction with the actual cases.(2) Calculate the output of the hidden layer, H j .According to the input vector X, the input layer, the weights w ij and the threshold a to calculate the output of the hidden layer, H j , based on Equation (1).
In Equation (1), i = index for the number of nodes of input layer; j = index for the number of nodes of hidden layer; f is an activation function, f (x) = 1 1+e x , other activation function can also be used in other cases.
(3) Calculate the output of the output layer, O k .According to the output of hidden layer, H j , the weights w jk and the threshold b to calculate the output of the output layer, O k , based on Equation (2).
In Equation (2), j = index for the number of nodes of hidden layer; k = index for the number of nodes of output layer.
In Equation (3), k = index for the number of nodes of output layer.
(5) Update the weights.The weights w ij and w jk are, respectively, updated based on Equations ( 4) and (5).
In Equations ( 4) and ( 5), η is denoted as learning rate, which is given in conjunction with the actual problem; j = index for the number of nodes of hidden layer; k = index for the number of nodes of output layer.( 6) Update the thresholds.The thresholds a and b are, respectively, updated based on Equations ( 6) and (7).
(7) Determine whether the iteration of the algorithm is finished, if not, return to step 2 again.

Cuckoo Search Algorithm
The Cuckoo Search algorithm was first proposed by Yang and Deb [36].The flight path of the cuckoo in the process of finding nests to lay eggs has typical Lévy flight characteristics.The flight step consists of short-distance step with high frequency and random long-distance step with low frequency.Yang and Deb established the standard Cuckoo Search algorithm based on the cuckoo's brooding behavior and Levy's flight characteristics.The standard Cuckoo Search algorithm follows three idealized rules: (1) Each cuckoo in each generation only lays one egg at a time, and randomly placed in an independent nest; (2) The nest with the highest quality of eggs in each generation would be retained to next generations; (3) The number of available host nests in each generation is a fixed value, and each egg which is laid by a cuckoo may be excluded by the host bird with a probability P a The population of the CS consists of a number of N pop (nests).To solve a specific problem, each nest of the N pop can be considered as an independent decision variable.For a d-dimensional optimization problem, each nest is an independent decision variable with size of 1 × d, which is denoted by Equation (8).
The population of the CS is denoted in Equation (9).
The initial population of the CS is generated randomly according to the range of the boundaries of the constraints based on Equation (10).
In Equation ( 10), nest 1 i is denoted as the i-th decision variable in the initial population; x up and x down are, respectively, the upper boundary and lower boundary of the decision variables; ξ is a random number draw from the uniform distribution between [0, 1].
After the initial population is generated, the CS updates the individual (decision variable) by two operators: (1) Individuals are updated by the Lévy flight operator based on Equation (11).
In Equation ( 11), nest i are, respectively, denoted as the i-th individual in the (t + 1)-th generation and the t-th generation, i ∈ [1,N pop ]; α = 0.01 × x up − x down is recommended; L(λ) is the step size drawn from Lévy distribution which is defined in Equation (12).
The Lévy distribution can be calculated by Equation (13).
In Equation ( 13), µ and ν are both drawn from standard normal distribution; β = 1.5 is recommended; the value of ∅ is based on Equation (14).
In Equation ( 15), nest best is the optimal solution of the t-th generation; α 0 is denoted as the step control value, α 0 = 0.1 is recommended.
(2) Individuals are updated by the random walk operator based on the probability of discovery in Equation (16).
In Equation ( 16), P a is denoted as the probability of inferior nest in each generation to be abandoned in evolutionary; ε and γ are both drawn from the uniform distribution; nest are, respectively, denoted as two random individuals in the t-th generation; H(P a − ε) is a Hevyside Function.Comparing P a with a random number ε, when P a > ε, the original individual is retained; when P a < ε, the original individual is eliminated and a new individual is generated.P a = 0.25 is recommended; when

The CS-BP Model
The flow chart of the CS-BP model is shown in Figure 1, and the calculation steps are as follows: (1) Raw data pre-processing.The raw data are pre-processed to meet the training requirements of the traditional BP. (2) Initialize the decision variables.Within a range of decision variables, a total of N pop nests are randomly generated, each nest can be seen as an independent decision variable with the weights w ij , w jk and thresholds a, b that need to be trained, and these four parameters are denoted as follows: a = nest 1 i x (n i ×n j +n j +1) , x (n i ×n j +n j +2) , . . ., x (n i ×n j +n j +n j ×n k ) b = nest 1 i x (n i ×n j +n j +n j ×n k +1) , x (n i ×n j +n j +n j ×n k +2) , . . ., x (n i ×n j +n j +n j ×n k +n k ) In Equations ( 17)-( 20), i = index for the number of nodes of input layer; j = index for the number of nodes of the hidden layer; k = index for the number of nodes of the output layer, nest 1 i is denoted as the i-th decision variable in the initial population in the first generation.
(3) Set up a fitness function and find out the initial optimal nest.Input each the decision variable with the weights w ij , w jk and thresholds a, b to train the BP and output the forecast results, calculate the error between the output of output layer and the expected output base on a design fitness function, then compare the value of the fitness function and determine the initial optimal nest.( 4    According to the feature of this case study, the fitness function is designed based on the error calculation in Equation (21).
In Equation ( 21), p = index for the number of data of the cases used; O p, f orecast is denoted as the forecast value; O p,real is denoted as the real value.The minimum fitness value corresponds to the optimal decision variables.

Procedure of the CS-BP for Daily Water Quality Forecast
In this case, the raw training data were normalized by a Mapminmax Function, which is defined in Equation ( 22): In Equation ( 22), x i is the index value of the i-th input data; y i is the index value of the i-th normalized output data; x min , x max is the minimum value of the input data, the maximum value of the input data, respectively; y min , y max is the minimum value of the normalized output data, the maximum value of the normalized output data, respectively.
(1) Structure of individuals In this case, the nest i consists of the weights w ij , w jk and thresholds a, b with the size of (n i × n j + n j + n j × n k + n k ), which is denoted in Equation ( 23).
nest i = x 1 , x 2 , . . ., x (n i ×n j +n j +n j ×n k +n k−1 ) , x (n i ×n j +n j +n j ×n k +n k ) (23) where i = index for the number of nodes of input layer; j = index for the number of nodes of hidden layer; k = index for the number of nodes of output layer. (

2) Population Initialization
Each nest is initialized randomly based on Equation (10), and obtained the initial population as the first generation.The parameters of each nest were input into the model, and the corresponding fitness value is calculated.
(3) Individuals update Firstly, each nest is updated by the Lévy flight operator based on Equation (15) and obtained the new corresponding fitness value.The value is used to evaluate the nests, and the best nest is denoted as nest (t) best,1 .Then, using the random walk operator to update the current nest based on Equation ( 16) and recording the best nest which is denoted as nest (t) best,2 .Compare the value corresponding to the two nests based on Equation (24), and get the best optimal nest which can be retained to the next generation.
The calculation is ended when the maximum iteration or the accuracy is reached.Otherwise, the calculation will be continued, until the termination condition is reached.

The Particle Swarm Optimization Algorithm
Similar to the CS algorithm, the Particle Swarm Optimization (PSO) is also a population evolutionary algorithm that was first proposed by Kennedy and Eberhart in 1995 [44].The PSO algorithm simulates the predatory behavior of birds.The population of PSO can be considered as a swarm and each independent decision variable in the swarm can be considered as a particle [25].For a D-dimensional optimization problem, each particle is an independent decision variable with size of 1 × D, the position of a particle can be denoted as X i = [x i1 , x i2 , . . ., x id ], the velocity of the i-th particle can be denoted as V i = [v i1 , v i2 , . . ., v id ], the best position so far for the i-th particle can be denoted as P i = [p i1 , p i2 , . . ., p id ] T , the best position for the entire swarm so far can be denoted as P g = [p g1 , p g2 , . . ., p gd ] T .Each particle will be iteratively updated by position update and velocity update based on Equations ( 25) and (26).
The fitness function is designed by an actual optimization problem, the fitness function value corresponding to each particle will be compared to find the best position for the entire swarm so far and the best position so far for the i-th particle, then the optimal solution can be found from generation to generation.

The PSO-BP Model for Daily Water Quality Forecast
Similar to the CS-BP model, the flow chart of the PSO-BP model is shown in Figure 2, and the calculation steps are as follows.
(1) Raw data pre-processing.The raw data are pre-processed to meet the training requirements of the traditional BP. (2) Initialize the decision variables.A total of N pop nests are randomly generated, each particle can be seen as an independent decision variable with the weights w ij , w jk and thresholds a, b that need to be trained, and these four parameters are denoted by Equations ( 17)-( 20).(3) Set up a fitness function and calculate the value corresponds to each particle.Get the best position so far for the i-th particle and denoted as P i , get the best position for the entire swarm so far and denoted as P g .(4) Update the particle by position update and velocity update.Each particle will be iteratively updated by position update and velocity update by Equations ( 25) and ( 26).(5) Evaluate the new particle by the fitness function to decide whether to update the P i .The values of fitness function can be calculated, and decide whether to update the P i (6) Compare all the P i and the P g to update a new P g .( 7) Stop the iteration when the termination condition is satisfied and find the final solution, otherwise, go back to step 2 and continue optimizing, then the best nest corresponds to the optimized weights and thresholds of BP.The Generalized Regression Neural Network (GRNN) is a feedforward neural network model that based on nonlinear regression theory [45].The structure of GRNN has four layers, namely input layer, pattern layer, summation layer and output layer.The input of the GRNN is denoted as X = [x 1 ,x 2 , . . .,x n ] T , the output of the GRNN is denoted as Y = [y 1 ,y 2 , . . .,y k ] T .
The structure of GRNN is shown as follows.
(1) The input layer The number of nodes in the input layer is equal to the dimension of the input vector in the sample, and each nodes directly transfers the input variable to the pattern layer.
(2) The pattern layer Here, the number of nodes in the pattern layer is equal to the number of samples, and each node corresponds to a different sample.
The transfer function is defined as Equation (27).
where the σ is spread factor of the Gaussian function, and can be denoted as smoothing parameter.
(3) The summation layer The summation layer mainly uses two methods for summation calculation.The first method is the arithmetical summation of the output of pattern layer, called the denominator unit.The transfer function is defined as S D and calculated by Equation ( 28) The second method is the weighted summation of the output of pattern layer, called the molecular unit.The transfer function is defined as S Nj and and calculated by Equation ( 29): (4) The output layer The number of neurons in the output layer is equal to the dimension of the output vector in the sample, and the output y j corresponds to the j-th element of the Y(X) is calculated by Equation (30):

The Theory of GRNN Model
According to nonlinear regression theory, the joint probability density function of the random variable x and the random variable y is defined as f(X,y), the observed values of x is denoted as X.Y is defined as the forecast output of variable y when the X is the input variable.The conditional mean of y can be calculated by Equation (31).
The f (X,y) can be deduced based on the sample data {x i , y i } n i=1 using Parzen kernel non-parametric estimation by Equation (32).
where, X i , Y i are the observations values of sample of random variables x and y, respectively; n is the sample size; p is the dimension of the random variable x; σ is spread factor of the Gaussian function, referred to herein as the smoothing parameter.Substituting f(X,y) of Equation (32) in Equation (31), and exchanging the order of integration and summation.The Ŷ can be calculated by Equation (33): as ∞ −∞ ze −z 2 dz = 0, the equation will be converted to Equation (34): where Ŷ(X) is the weighted average of the variable values of Y i .When the value of σ large enough, the forecast output Ŷ(X) will be approximately equal to the average value of all dependent variables.In contrast, when the value of σ trends to 0, the Ŷ(X) will be close to the training samples.Equation (34) showed that the smoothing parameter σ has a great influence on the forecast performance of the GRNN network.In fact, the purpose of training the GRNN is to find the optimal input and output of sample and the optimal σ, and then reconstruct the GRNN model using optimal parameters.In this article, the GRNN model was applied to compare the forecast performance with the CS-BP model, the drawbacks and other details of GRNN will be discussed in further studies.The flow chart of the GRNN model is shown in Figure 3.  35) and ( 36): where n is the total number of the data group; x real,i is the index value of the i-th actual value of the data group; x f orecast,i is the index value of the i-th actual value of the data group: where n is the total number of the data group; x real,i is the index value of the i-th actual value of the data group; x f orecast,i is the index value of the i-th actual value of the data group.

Data Description
The Huinanzhuang Pumping Station (39 • 31 N, 115 • 44 E) is the only one large pumping station on the main canal of the SNWDPC MR.The pumping station is located in the east of Huinanzhuang Village, Dashiwo Town, Fangshan District, Beijing.The water samples were collected and tested by the Huinanzhuang Pumping Station, twice a day (08 and 20 UTC) from 25 May to 26 August 2013, in Beijing to Shijiazhuang Section of the main canal of the SNWDPC MR.It was an important temporary operating period before the project officially diverted the water of Danjiangkou Reservoir of Hubei Province to North China.The total number of each water quality indicator sample were 188 data in 94 days.According to the Environmental quality standard for surface water (GB 3838-2002) of China, there were about 109 water quality indicators.A total of 9 indicators of those standards were tested at that time, including conductivity, chlorophyll content, dissolved oxygen, dissolved organic matter, pH, permanganate index, turbidity, total nitrogen, and water temperature.These indicators were measured by automatic water quality detection equipment located at the Huinanzhuang Pumping Station.The data ranges of these indicators were shown in Table 1.There were certain protective measures along the whole SNWDPC MR.However, as an open canal, the water quality can be influenced by various factors [46].According to previous research, many environmental factors such as land management, untreated flow, rainfall, air temperature, wind speed, sunshine duration, and water vapor pressure would possibly affect the processes of transport and fate of nitrogen, phosphorus, and other elements, or the biochemical reaction rate of algae, which will directly or indirectly affect dissolved oxygen, chlorophyll content, pH and other water quality indicators in water bodies [47].Li found that land management may affect the pH in water supply catchment [48].Delpla discussed the relationship between the change of water quality and climate [49].The changes of dissolved oxygen, dissolved organic matter, pH in the water bodies are related to rainfall, for example, acid rain in polluted areas will cause the reduction of pH.Chen discussed that the increase of temperature can affect the density, surface tension, viscosity and existing form of water, change the distribution of water temperature layer, accelerate the chemical reaction and biodegradation rate in water [50].Most of the algal blooms occur in summer with high air temperature and strong direct sunlight.The total nitrogen concentration and chlorophyll content of the water bodies are often higher than that of other seasons.Wind speed can directly affect the redistribution of chlorophyll, dissolved organic matter and dissolved oxygen in the water bodies by changing the hydrodynamic processes [51].Sunshine duration can indirectly affect water quality by affecting the photosynthesis of aquatic organisms.The increase of sunshine duration will promote the photosynthesis of phytoplankton in surface water, causing the changes in dissolved oxygen, chlorophyll and turbidity in water.Atmospheric dustfall may affect the nutrient salt level of the water body [52].When the concentration of nutrients reaches a certain level, it will accelerate the eutrophication of lakes and the secondary release of pollutants in the sediment of water bodies under suitable environmental conditions, resulting in the increase of nitrogen and phosphorus content in water bodies.
According to the characteristics of the MR SNWDPC, the untreated flow untreated water flow and external pollution sources are strictly prohibited to pour into the canal, the impacts of land management on water quality are mainly in water supply catchment; in addition, the study case is in a temporary operation period when the water supply is not under a normal condition, and the relationship between water quality and time series will not have a general periodic law, therefore the factors discussed above are not considered as the input parameters.According to the above discussion, seven major environmental factors that would mainly affect the water quality have been collected at the same period, including air temperature, PM2.5, rainfall, sunshine duration, water flow, wind velocity, and water vapor pressure.The water flow data were also obtained from the Middle-Route Construction Management Bureau of South-to-North Water Division Project.The corresponding weather data were obtained from the National Meteorological Station of China.The data ranges of seven external environmental factors are shown in Table 2.

Data Pre-Processing
According to previous research, some water quality indicators were not only related to external environmental factors, but also to other water quality indicators; we cannot use all the seven external environmental factors together simply as the predictors because some invalid predictors may increase the possibility of computational complexity of the model and lead to over-fitting.In this case study, pertinent predictors of each water quality indicators were chosen by a data pre-processing method as follows. (

1) Correlation coefficients calculation
The correlation coefficients between two different indices were calculated by Equation (37).
where r de is the correlation coefficient; n is the total number of the data in this case, here n = 188; x di is the index value of the i-th sample of the d-th indicator in this case; x d is the average value of the d-th indicator; x ei is the index value of the i-th sample of the e-th indicator in this case; x e is the average value of the e-th indicator.All the correlation coefficients were shown in Table 3. Table 3 showed that there were significant differences in the correlation coefficients between different external environmental factors and water quality indicators.For example, the AT, WF and WVP of 7 external environmental factors have higher correlation coefficients with WT, where r = 0.774, 0.707, 0.671, respectively.The absolute values of the correlation coefficients between the CD and each external factor, the PI and each external factor were all less than 0.2, while the maximum correlation coefficient was 0.195, 0.191, respectively.The CD had the maximum correlation coefficient with TN, where r = 0.544.The DO had the maximum correlation coefficient with CC, where r = 0.434.The absolute values of the correlation coefficients between PM2.5 and each water quality indicators were all less than 0.2.According to the results in Table 3, we selected different indices for each water quality indicator as the first input.Each index must have the maximum correlation coefficient corresponding to the predictand.After all the first predictors were determined, the second predictors were selected from the rest of different indices one by one, set them as another input together with the first input of each water quality indicator in CS-BP model, calculated the RMSE by Equation (37) for different combinations and determined the second predictors, which have the minimum RMSE.The selection processes were repeated until the third to the seventh predictor of each water quality indicator were calculated, and the results were listed in Table 4.When the predictors have been selected, it is necessary to examine the models for whether there is an over-fitting problem due to the intrinsic drawbacks of BP.Here we compare the training errors (hereafter, train-RMSE) and testing errors (hereafter test-RMSE) using RMSE for each indicator one by one to examine over-fitting problem: if the train-RMSE train-RMSE are almost equal or on the same order of magnitude, it can be proved that there is no over-fitting problem of our model.After checking, there is no over-fitting problem in our models, so the models can be used to forecast.For the above discussion, to test the improvement of the predictor selection and the forecast performance of different models, three different simulation scenarios were designed as follows.

Simulation Setting
Scenario 1: Seven external environmental factors were set as the default predictors (DP), compared the forecast performance of DP with the selected predictors (SP) in the CS-BP model.The default data proportion was about 5:1 (training data: testing data), so the total data were divided into two sections: section one was from data 1st to data 150th, from 25 May to 8 August 2013, to train the models; section two was from data 151th to 188th, from 9 August to 27 August 2013, to test the forecast performance.
Scenario 2: Compared the forecast accuracy of different models, the predictors of the four models were the selected predictors, and the data proportion and parameters were all the same as Scenario 1.
Scenario 3: In order to compare the forecast accuracy of different models in different data proportions, we divided the training data and testing data into 130:58, 140:48 and substituted them into four models in turn.The predictors and parameters were all the same as Scenario 2.
In CS-BP model, the probability of discovery was P a = 0.25, and the step size parameters were α 0 = 0.1, β = 1.5, respectively.In PSO-BP model, the acceleration constants were c 1 = c 2 = 1.5, the maximum and minimum values of the velocity were v max = −v min = 0.5, the maximum and minimum values of the inertia weight factor were w max = 0.9, w min = 0.3, respectively.The maximum generation was set to 1000, and the size of the population was set to 100 in both CS-BP model and PSO-BP model.In the GRNN (Generalized Regression Neural Network) model, the spread parameter σ was set to 0.2.To reduce the accidental error of program running, each scenario of each model was calculated 10 times, and the average values will be taken as the results.

Comparison of Different Predictors
In Table 5, the RMSE and MAPE values of 9 water quality indicators used as the selected predictors were all less than the default predictors.Those forecast results are also shown in Figure 4 that 9 water quality indicators of the SP have smaller data variation ranges of the absolute errors that the curves were more stable than the DP.In DP, the maximum MAPE was 1.222% (TB), 2 were less than 0.1%, 6 were between 0.1% and 1%, 1 was over 1%.In SP, the maximum MAPE was 0.33% (TB), 8 were less than 0.1%, 1 was over 0.3%.The maximum RMSE of DP and SP was conductivity, the values were 1.8106 and 0.2087, respectively.According to previous research, turbidity can be influenced by various external and internal factors such as the dustfall, the temperature, and the water sample collection process may lead to lower forecast accuracy than other indicators.The data ranges of conductivity were from 450 to 781, which would cause the RMSE value of conductivity larger than other indicators.The fluctuating data change process would also lead to lower forecast accuracy in conductivity.However, when we select the pertinent predictors for conductivity, the MAPE value reduced significantly from 0.243% to 0.032%.Similar improvements also occurred on the dissolved organic matter and total nitrogen, the MAPEs reduced from 0.438% to 0.070% and 0.324% to 0.093%, respectively.When the inputs were the selected predictors, the forecast accuracy was higher than the default inputs.
Since the water quality indicators can be affected by various external and internal factors, if we used all the seven external environmental factors together as the predictors, the model would be not effective enough to forecast the water quality by the CS-BP model in this case study.Therefore, using the data pre-processing methods to select the new predictors was useful and effective, and we set the selected predictors as inputs in the next simulation.Note: Here "DP" = "default predictors", "SP" = "selected predictors".

Comparison of Different Models
Table 6, Figures 5 and 6 showed the forecast results of four models in Scenario 2.
Compare the BP model and the GRNN model in Table 6, the RMSEs of 9 water quality indicators of the BP model were all less than those of the GRNN model, the maximum RMSE was 18.0959 (CD) of the BP model, while the maximum RMSE was 40.0048 (CD) of the GRNN model.The maximum MAPE of the GRNN model was 28.154% (DOM), 1 was less than 1%, 5 were between 1% and 10%, 1 was between 10% and 20%, 2 were over 20%.The maximum MAPE of the BP model was 11.248% (TB), 1 was less than 1%, 7 were between 1% and 10%, 1 was over 10%.All the MAPEs of 9 water quality indicators of the BP model were still less than those of the GRNN model.The absolute error curves of the GRNN model were much more unstable than the BP model in Figure 5, the most violent absolute error curve was shown in Figure 5d, corresponding to the maximum MAPE of DOM in Table 6, 28.154%.Compared with the predicted data and the monitored data in Figure 6, the points of pH of the GRNN model in Figure 6e were concentrated on the Y = X line relatively well, corresponding to the lowest MAPE value of the other 8 indicators in Table 6.The points of the GRNN model and the BP model were more scattered in Figure 6b,d,g, corresponding to higher MAPE values than the other 6 indicators in Table 6.It showed that the GRNN model has larger absolute error at some data points and the forecast performance of the traditional BP model was better than the GRNN model in this case study.The CS-BP model has the lowest RMSE and MAPE values of 9 water quality indicators in Table 6.The RMSEs of CD and CC of CS-BP model were significantly lower than those of the PSO-BP model, where the values were 0.2087:1.9634and 0.0022:0.0456,respectively.The rest of the RMSEs of 7 indicators of CS-BP model were also lower than those of the PSO-BP model.The maximum RMSE of CS-BP model was 0.2087 (CD), while the PSO-BP model was 1.9634 (CD).The maximum MAPE of CS-BP model was 0.33% (TB), 8 were less than 0.1%, 1 was over 0.3%, while the maximum MAPE of PSO-BP model was 1.456% (TB), 1 was lower than 0.1%, 7 were between 0.1% and 1%, 1 was over 1%.
Figure 6 showed that the distribution of the predicted data and monitored data of four models, the CS-BP model still maintained the highest forecast accuracy that the points were concentrated on the Y = X line relatively well.In Figure 6a,b,d,g, the PSO-BP model showed some certain errors compared with the forecast performance of the CS-BP model.The results indicated that compared with the PSO-BP model and the traditional BP model, the forecast accuracy of the CS-BP model in this case study was effectively improved.

Comparison of Different Data Proportion
Tables 7 and 8 8, the maximum MAPE of the GRNN model was 27.59% (TB), 2 were less than 1%, 10 were between 1% and 10%, 3 were between 10% and 20%, 3 were over 20%, while the maximum MAPE of BP model was 24.087%(TB), 4 were less than 1%, 11 were between 1% and 10%, 2 were between 10% and 20%, only 1 was over 20%.These results indicated that when the training data were reduced, the forecast performances of the BP model and the GRNN model were not satisfactory.The worst forecast result was in the turbidity.The maximum increase of the MAPE of GRNN model and BP model was in turbidity.In the GRNN model, the MAPE of turbidity increased from 22.45% to 27.59%, an increase of 5.14%, and in the BP model, the MAPE of turbidity increased from 14.20% to 24.09%, an increase of 9.89%.In addition, the forecast results of the two models on dissolved organic matter (DO) and chlorophyll content (CC) were also worse than the rest of the 6 indicators.The results showed that the training data reduction has a significant impact on the GRNN model and BP model.When the training data were reduced, the accuracy of the GRNN and the traditional BP were very low and the results become unreliable.The traditional BP model and GRNN mode cannot show the ability to resist the decline of forecast accuracy caused by the reduction of training data.These results indicated that it is meaningful and necessary to improve the traditional BP model.Optimization algorithm can improve the forecast accuracy of the BP model, and can reduce the impact caused by the reduction of training data, to some certain extent.154% (TN), 1 was lower than 0.1%, 6 were between 0.1% and 0.5%, 1 was between 0.5% and 1%, 1 was over 1%.The maximum MAPE of the PSO-BP model in Part B was 0.669% (DOM), 1 was lower than 0.1%, 6 were between 0.1% and 0.5%, 2 were between 0.5% and 1%.In addition, there were 5 indicators (CD, CC, DOM, pH, and TB) have lower MAPEs of the CS-BP model in Part A than those of the PSO-BP model in Part B. These results have shown that the CS-BP model still shows higher forecast accuracy than the PSO-BP model when the training data were reduced.In this case, when the training data of the CS-BP model was less the PSO-BP model, the forecast accuracy of some indicators are still higher than that of the PSO-BP model, which proved that the CS-BP model has a better ability to resist the impacts of training data reduction than the PSO-BP model.Part B were larger than those of the BP model.In Figure 7, we see that the curves of the GRNN model were more volatile than the other 3 models.In Figure 7a, the maximum absolute errors of the GRNN model and the BP model were to 130 µs/cm and 95 µs/cm, respectively, and the MAPE values were almost 17% and 12%, respectively, at that data point.Similar phenomenon appeared in Figure 7h, the MAPEs of total nitrogen of the GRNN model and the BP model were almost 22% and 19%, respectively, at the maximum absolute errors data point.The maximum increase of the MAPE of the CS-BP model and the PSO-BP model was TN, from 0.091% to 1.154%, from 0.254% to 1.494%, respectively, corresponding to the absolute error curves have obvious inflection points in Figure 7h.We speculate that the lack of training data was the major problem of significant absolute errors and inflection points in the previous part of the curves.In Figure 8, the absolute error curves of the GRNN model and the BP model were still unstable than the PSO-BP model and the CS-BP model, some data points have serious forecast errors.These results indicated that neither the GRNN model nor the BP model can have forecast results in Scenario 3. In Figure 8h, there was no obvious inflection point of the CS-BP model, but it still exists in the PSO-BP model.The result also reflected the ability of the CS-BP model to resist training data shortage.Overall, Figures 7 and 8 indicated that the curves of the PSO-BP model and the CS-BP model were stable, representing more accurately forecast results.Meanwhile, the CS-BP model shows better adaptability than the PSO-BP model, when training data were reduced.
Figures 9 and 10 showed that the distribution of the predicted data and monitored data of the GRNN model and the BP model are more scattered than the CS-BP model and the PSO-BP model.In Figure 9, the points of the GRNN model of Figure 9b,d,g were very fragmented, corresponding to higher MAPEs in CC, DOM, and TB than other models in Table 8.Similar phenomena occurred in Figure 10, these results indicated that the forecast performance of the GRNN model was poor in this case, using the CS algorithm to improve the GRNN model needs to be studied in the future.In addition, although the traditional BP model performed more accurately than the GRNN model in this case, the accuracy of some indicators such as turbidity and chlorophyll content still unsatisfactory as the Figure 9b,d  In summary, the CS-BP model performed best in forecasting each water quality indicator in this case and the CS-BP model can be used to forecast daily water quality with limited observed data condition, such as the South-to-North Water Diversion Project of China.

Discussion of the CS-BP Model
Comparing the forecast performance of the CS-BP model and the BP model, it can be seen that the forecast accuracy of the CS-BP model is much higher than that of traditional BP model.The reason is that the traditional BP models have some intrinsic drawbacks such as calculation instability and low convergence efficiency, which will reduce the forecast accuracy of the models.The application of intelligent optimization algorithm is more efficient than the traditional BP model random calculation, and can quickly obtain the weights and thresholds for a specific problem, which is also the current research hotspot of the BP model.Comparing the CS-BP model with PSO-BP model, it can be seen that the calculation flows of the two models are basically the same, and the methods and principles are also similar.The difference of the accuracy of the forecast results of the two models may be due to the difference of the optimization algorithm themselves.The PSO was invented earlier than the CS, and the traditional PSO also has some computational defects.Over the years, many scholars have studied the improvement of the PSO.The optimization mechanism of the CS algorithm ensures that the algorithm has the advantages of higher search efficiency and faster calculation speed, which is also the reason that the CS-BP model has higher forecast accuracy than the PSO-BP model.In previous research, many scholars have proved that the CS algorithm is more efficient than the PSO.However, the CS algorithm is not an algorithm without defects.Later, more in-depth research on the improvement of the CS algorithm is needed.
There are also some drawbacks in this study, such as the lack of in-depth study on the impact of land management on the quality of the MR SNWDPC, as well as an in-depth study on the regularity of water quality periodic changes; these are the research directions for further study.Some other research directions are also to improve CS algorithm and its coupling with some mechanism models, and to study the impact of various environmental factors on the South-to-North Water Diversion Project.According to this study, the CS-BP model can not only be applied to water quality forecast, but also be worth popularizing to other forecast problems, such as food production prediction, population prediction, and other issues when input factors are selected appropriately.

Conclusions
In this paper, a new forecast model, called the CS-BP model, was applied to forecast the daily water quality of the South-to-North Water Diversion Project of China.The model was based on the traditional BP network, the Cuckoo Search algorithm was used to optimize the initial weights w ij and w jk , the thresholds a and b of the traditional BP model.Nine water quality indicators, including conductivity, chlorophyll content, dissolved oxygen, dissolved organic matter, pH, permanganate index, turbidity, total nitrogen and water temperature were the predictand.Seven external environmental factors, including air temperature, PM2.5, rainfall, sunshine duration, water flow, wind velocity and water vapor pressure were the default predictors to the model.A data pre-processing method was used to select pertinent predictors for each water quality indicator.The traditional BP model, the PSO-BP model and the GRNN model were used to compare the forecast performance with the CS-BP model.Three simulation scenarios were set up.The result of Scenario 1 showed that using the data pre-processing method to select the predictors for the model was effective that could improve the forecast accuracy of the model, 9 water quality indicators that used the selected predictors were all less than the default predictors.The forecast results of the CS-BP model were satisfactory, which have the lowest RMSE and MAPE values in all water quality indicators among the four models in Scenario 2. Five water quality indicators have lower RMSE and MAPE values of CS-BP model than those of PSO-BP model while the training data was 130, 140, respectively.It showed that the CS-BP model can maintain higher forecast accuracy than other three models with limited observed data in this case.It can be concluded that the CS-BP model is a feasible and effective tool to forecast daily water quality effectively with limited observed data under normal operating conditions, and can be applied to water security management of the South-to-North Water Diversion Project of China.The impact of different environmental factors on the South-to-North Water Diversion Project and the improvement of the CS-BP model will be discussed in the future.

( 4 )
Calculate the forecast error, e k .According to the output of the output layer O k and the expected output Y k , to calculate the forecast error, based on Equation (3). e (t)best,2 are compared to get the best solution in the t-th generation and retained.(7)Stop the iteration when the termination condition is satisfied and find the final solution, otherwise, go back to step 2 and continue optimizing, then the best nest corresponds to the optimized weights and thresholds of BP.

Figure 1 .
Figure 1.The flow chart of back propagation neural network that is optimized by the Cuckoo Search algorithm (CS-BP) model.

Figure 2 .
Figure 2. The flow chart of PSO-BP model.

Figure 3 .
Figure 3.The flow chart of Generalized Regression Neural Network (GRNN) model.The Mean Absolute Percentage Error (MAPE) and Root Mean Squared Error (RMSE) and were used to evaluate the forecast performance of each model in different scenarios by Equations (35) and (36):

Figure 4 .
Figure 4.The absolute errors of water quality indicators of DP and SP using CS-BP model.

Figure 5 .
Figure 5.The absolute errors of water quality indicators of four models in Scenario 2.

Figure 6 .
Figure 6.The comparison of predicted data and monitored data of water quality indicators of four models in Scenario 2.
, Figures 7-10 showed the forecast results of four models in Scenario 3. In Table 7, all the RMSE in both Part A and Part B of the BP model were still lower than the GRNN model when the training data was reduced from 140 to 130.However, the RMSE values of those two models did not increase synchronously.The RMSEs of 3 indicators (DO, PI and TN) increased of the GRNN model from Part B to Part A, while the RMSEs of 6 indicators (CD, pH, PI, TB, TN and WT) increased of the BP model.In both Part A and Part B of Table Compared the RMSEs inPart A and Part B of the CS-BP model in Table 7, when the training data reduced from 140 to 130, all the RMSEs of the CS-BP model were still the lowest among the four models.The RMSEs of 6 indicators (CD, DO, DOM, PI, TN, and WT) in the CS-BP model increased from Part B to Part A, while the RMSEs of 7 indicators (CD, DO, pH, PI, TB, TN, and WT) of the PSO-BP model increased from Part B to Part A. Compared the RMSEs of CS-BP model in Part A with the PSO-BP model in Part B, the RMSEs of 5 indicators (CD, CC, DOM, pH and TB) were less than those of the PSO-BP model in Part B. In Table 8, the MAPEs of 6 indicators (CD, DO, DOM, PI, TN, and WT) increased in the CS-BP model from Part B to Part A, while 7 indicators increased in the PSO-BP model (CD, DO, pH, PI, TB, TN, and WT).The maximum MAPE of the CS-BP model in Part A was 1.

Figure 7 .
Figure 7.The absolute errors of water quality indicators of four models of part A in Scenario 3.

Figure 8 .
Figure 8.The absolute errors of water quality indicators of four models of part B in Scenario 3.

Figure 9 .
Figure 9.Comparison result of predicted and monitored data of water quality indicators of four models of part A in Scenario 3.

Figure 10 .
Figure 10.Comparison results of predicted and monitored data of water quality indicators of four models of part B in Scenario 3.

Figures 7
Figures 7 and 8 showed that the absolute error curves of the GRNN model were more unstable than the BP model, corresponding to the MAPE values of the GRNN model in both Part A and and Figure 10b,d have shown.The training data reduction lead to the reduction of forecast accuracy.When the CS-BP model has less training data than the PSO-BP model, the CS-BP model still has better forecast accuracy than the PSO-BP model in some water quality indicators (CD, CC, DOM, pH, and TB).
) Update the nest by the Lévy flight operator.The highest quality of nest will be retained to the next generations, and then update the nest by the Lévy flight operator and calculate the fitness value of the updated nest.Compare the fitness value between each updated nest and the previous optimal nest.If the previous optimal nest is better than the updated nest, keep the previous nest, if not, update the nest.Finally, we get the best individual in the t-th generation by the Lévy flight operator, which is denoted as nest Update the nest by the random walk operator.This model does not accept all of the updated by the random walk operator.Only when its fitness value is better than the previous is accepted and retained, then finally, the model gets the best individual in the t-th generation by the random walk operator, which is denoted as nest (t) best,2 .(6)The values of fitness function of nest(t) best,1 and nest

Table 1 .
Data ranges of nine daily water quality indicators.
• C

Table 2 .
Data ranges of seven external environmental factors.

Table 3 .
Correlation coefficients between two different indicators.
-(2) Predictors selecting for each water quality indicator

Table 4 .
The results of predictors selection for each water quality indicator.

Table 5 .
The RMSE and Mean Absolute Percentage Errors (MAPE) of default predictors (DP) and the selected predictors (SP) using CS-BP model.

Table 6 .
The RMSE and MAPE of water quality indicators of four models in Scenario 2.

Table 7 .
The RMSE of water quality indicators of four models in different data proportions in Scenario 3.

Table 8 .
The MAPE of water quality indicators of four models in different data proportions in Scenario 3.
Note: Part A and Part B present the data proportion for 130:58 (testing data: training data) and 140:48 (testing data: training data), respectively.