Runoff probability prediction method based on rolling decomposition and deep learning
By using rolling decomposition and deep learning technology in the runoff prediction model, combined with the BiGRU-NCQR-KDE model, the problems of information leakage and low data utilization are solved, efficient runoff probability prediction is achieved, and accurate and reliable prediction results are provided. .
Patent Information
- Application Number
- CN202410770895.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-11
AI Technical Summary
Existing runoff prediction models have information leakage problems in data decomposition and information utilization, resulting in inaccurate and unreliable prediction results, and traditional models cannot effectively utilize the inherent information in runoff time series.
The variational mode decomposition (VMD) technology based on rolling decomposition is used to decompose the runoff data, and the BiGRU is combined with the bidirectional gated cyclic unit (BiGRU), non-crossed quantile regression (NCQR) and kernel density estimation (KDE) models to construct the BiGRU -NCQR-KDE model to avoid information leakage and maximize the use of temporal data features.
It achieves accurate and reliable runoff probability prediction results without information leakage, improves the performance of point prediction, interval prediction and probability density prediction, and provides more effective information to support decision-making.
Smart Images

Figure CN118760978A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of runoff technology, and in particular relates to a runoff probability prediction method based on rolling decomposition and deep learning. Background Art
[0002] Deep learning models represented by the long short-term memory (LSTM) model are widely used in runoff prediction tasks because they can effectively capture the nonlinearity and time dependency in runoff sequences. The gated recurrent unit (GRU) model is an improved version of the LSTM model proposed by Cho et al. Compared with the LSTM model, the GRU model has fewer parameters and shorter training time. Traditional neural networks can only learn data features from the forward direction, but not from the reverse direction. This model cannot maximize the inherent information contained in the runoff time series and has low data utilization.
[0003] Because of the ability of decomposition techniques to extract random and periodic components as well as overall trends from runoff series data, several studies have constructed hybrid models by combining different models with preprocessing methods such as sequence decomposition techniques. Although many hybrid models that include decomposition techniques appear to significantly reduce model errors, these models employ sampling methods based on overall decomposition to obtain training and testing samples. The direct decomposition strategy involves an initial decomposition of the entire runoff series and then partitioning all the resulting subsequences into two stages, which are used for training and testing the model, respectively. In practice, the use of overall decomposition is inappropriate because future runoff values are unknown and it is impossible to decompose them together with known training data. This approach allows the model to be trained using future information, thereby achieving abnormally "high" performance.
[0004] Compared with point prediction, the probabilistic prediction model of runoff can quantify the uncertainty of prediction and provide more effective information for decision makers, so it has attracted widespread attention from researchers in the field of hydrology. The probabilistic runoff prediction methods in the study can be divided into two categories: parametric models and non-parametric models. Non-parametric models do not make any assumptions, but study the data distribution based on the characteristics of the data itself. Quantile regression (QR) is a classic non-parametric probability prediction method, and kernel density estimation (KDE) is a method to obtain density prediction, which reveals the functional relationship between quantiles and probability density. In QR, all quantiles are predicted simultaneously without relevant constraints, so the predicted quantile sets may cross. This further reduces the accuracy and reliability of KDE, which uses the quantile set results predicted by QR as input. Summary of the invention
[0005] In view of the problems existing in the prior art, in order to solve the above defects of the prior art, the present invention provides a runoff probability prediction method based on rolling decomposition and deep learning, which can obtain accurate and reliable runoff probability prediction results while avoiding information leakage.
[0006] The technical solution of the present invention is as follows: A runoff probability prediction method based on rolling decomposition and deep learning includes the following steps: Step 1: Collect historical daily runoff data series; Step 2: Decompose the data without leakage of future information through VMD (variational mode decomposition) based on the rolling decomposition strategy; Step 3: Divide the processed data into training set and test set in a ratio of (3-5):1; Step 4: Construct a runoff probability prediction model; Step 5: Train the model on the training set to obtain a trained runoff probability prediction model; Step 6: Collect daily runoff data within a set time period, and pre-process the collected data to obtain a data set to be predicted; Step 7: Input the data set to be predicted into the trained runoff prediction model to obtain the predicted runoff probability density curve; Complete runoff probability prediction based on rolling decomposition and deep learning.
[0007] Preferably, in step 2, decomposing the data without leakage of future information by VMD based on a rolling decomposition strategy specifically includes the following steps: Step 2.1: Calculate the maximum information coefficient MIC between the historical runoff and the current runoff. The historical runoff duration with a MIC value greater than 0.7 is used as the decomposition window length. WL ; Step 2.2: Reconstruct the runoff sequence X into a window length of WL , a two-dimensional matrix X with a sliding step size of 1 R , the matrix size is (N- WL +1, WL ); Step 2.3: Decompose X row by row using VMD R , and get the decomposition result X. In the case of no information leakage, the matrix size is (N- WL +1, WL , K), where K represents the number of sub-patterns.
[0008] Further preferably, in step 2.2, X R The specific expression is as follows: (1), In the formula, represents the first i elements, N is the length of the runoff sequence X, WL is the length of the subsequence participating in each decomposition in the runoff sequence X.
[0009] Preferably, in step S4, the prediction model is BiGRU-NCQR-KDE, and the model consists of a bidirectional gated recurrent unit BiGRU module, a non-crossed quantile regression NCQR module and a kernel density estimation KDE which are connected in sequence. like Figure 1 As shown in Figure 1, the model consists of a bidirectional gated recurrent unit (BiGRU) module, a non-crossed quantile regression (NCQR) module, and a kernel density estimation (KDE) module connected in sequence, where: (1) BiGRU The GRU unit has two gates to manage the flow of information within the unit. The reset gate determines whether to combine the new input with the previously stored data, and the update gate determines how much stored information to keep. For a single GRU unit, the update gate is calculated. , Reset Gate , candidate hidden states and the GRU hidden state The method is as follows: (2), (3), (4), (5), In the formula, is the input vector, , , , , and is the weight matrix; and , , is the bias vector, represents the Sigmoid activation function, represents unit multiplication, also known as the Hadamard product, and They are the candidate hidden state and hidden state at time k respectively; The BiGRU network combines the forward and reverse GRU to obtain data features from two directions. In the process of time series data processing, BiGRU considers the correlation between data in the data sequence, thereby maximizing the use of time data. Two superimposed GRU layers are inserted on top of each other to form the basic structure of the BiGRU network. The hidden state In the forward direction, the hidden state By sliding the computation backwards, at the end of each time step, the outputs of the two layers are combined to generate the final output state , which is expressed as follows: (6).
[0010] (2) In the non-crossed quantile regression (NCQR) module, quantile regression (QR) can predict the quantile of future runoff and quantify the uncertainty of the prediction. The definition of QR is as follows: (7), In the formula, is the dependent variable In the independent variable The next Quantiles, is the regression coefficient vector, and the loss function of QR is: (8), In the formula, T is the number of samples in the test set, and They are i The independent and dependent variables of the samples are is the regression coefficient vector, function is defined as follows: (9), Where u represents the function input.
[0011] In the non-crossed quantile regression NCQR module, QR is improved. The improved QR uses one model to predict all required quantiles. ; The loss function of the improved QR is: (10), In the formula, Q Represents the number of improved QR output quantiles, function is defined as follows: (11), In the formula, u represents the function input; NCQR reconstructs the output of QR into three parts: the first quantile , the last quantile With the first quantile The difference L , and the ratio set ,in, yes and The difference between L The estimated values of each quantile can be obtained by the following formula: (12), In the formula, and are the first and second quantiles in the quantile set output by the model. m Quantiles.
[0012] Preferably, the output of NCQR needs to meet the following constraints: (13), (14), (15), In the formula, and Represents the first and last quantiles in the quantile set output by NCQR. L express and The difference.
[0013] The purpose of this constraint is to avoid the occurrence of quantile crossing and ensure that the distance between adjacent quantiles is greater than 0 to meet the constraints of formulas (13) to (15). In the output layer, the output is activated by the Softplus function. L The neurons of , ensure that the output result is greater than 0, satisfying the constraints of formula (13); output The neurons are activated by the Softmax function, ensuring that their outputs are greater than 0 and their sum is 1, satisfying the constraints of formulas (14) and (15).
[0014] (3) Kernel Density Estimation (KDE) KDE is used to convert the discrete quantiles predicted by BiGTU-NCQR into a continuous probability density function (PDF). KDE does not require prior assumptions about the probability distribution of the data when estimating the PDF of a random variable. Unlike parameter estimation methods, which can only predict the parameters of a parametric distribution, such as a Gaussian distribution, and further obtain a PDF in a fixed format, KDE can output a PDF in any format. The definition of KDE is as follows: (16), In the formula, is the number of samples, is the bandwidth, for PDF, is the kernel function, and the expression of the kernel function is shown in formula (17): (17), In the formula, Represents the input of the function.
[0015] The present invention selects the Epanechnikov kernel function because it can achieve the smallest root mean square deviation compared with other kernel functions.
[0016] Step 7: Input the dataset to be predicted into the trained runoff prediction model to obtain the predicted runoff probability density curve. The conditional quantile of is the result of the point prediction. and The quantiles are The lower and upper bounds of the interval forecast result at the confidence level.
[0017] In summary, the flow chart of the runoff probability prediction method based on rolling decomposition and deep learning proposed by the present invention is as follows: Figure 2 shown.
[0018] The present invention has the following beneficial effects: Compared with all the comparative models, the model proposed in the present invention achieves the best point prediction, performance interval prediction performance and probability density prediction performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flow chart of a runoff probability prediction method based on rolling decomposition and deep learning proposed by the present invention; Figure 2 It is the model structure of BiGRU-NCQR-KDE; Figure 3 These are the point prediction and interval prediction results of VMD-BiGRU-NCQR-KDE on the Yichang station test set; Figure 4 These are the point prediction and interval prediction results of VMD-BiGRU-NCQR-KDE on the Zhutuo station test set; Figure 5 It is the prediction probability density curve of VMD-BiGRU-NCQR-KDE in the Yichang station test set with six time periods selected at equal intervals; Figure 6 It is the prediction probability density curve of VMD-BiGRU-NCQR-KDE in six time periods selected at equal intervals in the Zhutuo station test set. DETAILED DESCRIPTION
[0020] The present invention will be further described below in conjunction with embodiments and drawings.
[0021] Example 1 A runoff probability prediction method based on rolling decomposition and deep learning includes the following steps: Step 1: Collect historical daily runoff data series Step 2: Decompose the data using VMD based on a rolling decomposition strategy without leakage of future information.
[0022] The specific steps include: Step 2.1: Calculate the maximum information coefficient MIC between the historical runoff and the current runoff. The historical runoff duration with a MIC value greater than 0.7 is used as the decomposition window length. WL ; Step 2.2: Reconstruct the runoff sequence X into a window length of WL , a two-dimensional matrix X with a sliding step size of 1 R , the matrix size is (N- WL +1, WL ); Step 2.3: Decompose X row by row using VMD R , and get the decomposition result X. In the case of no information leakage, the matrix size is (N- WL +1, WL , K), where K represents the number of sub-patterns.
[0023] Preferably, in step 2.2, X R The specific expression is as follows: (1), In the formula, represents the first i elements, N is the length of the runoff sequence X, WL is the length of the subsequence participating in each decomposition in the runoff sequence X.
[0024] Step 3: Divide the processed data into training set and test set in a ratio of 4:1.
[0025] Step 4: Construct the runoff probability prediction model BiGRU-NCQR-KDE, like Figure 1 As shown in Figure 1, the model consists of a bidirectional gated recurrent unit (BiGRU) module, a non-crossed quantile regression (NCQR) module, and a kernel density estimation (KDE) module connected in sequence, where: (1) BiGRU The GRU unit has two gates to manage the flow of information within the unit. The reset gate determines whether to combine the new input with the previously stored data, and the update gate determines how much stored information to keep. For a single GRU unit, the update gate is calculated. , Reset Gate , candidate hidden states and the GRU hidden state The method is as follows: (2), (3), (4), (5), In the formula, is the input vector, , , , , and is the weight matrix; and , , is the bias vector, represents the Sigmoid activation function, represents unit multiplication, also known as the Hadamard product, and They are the candidate hidden state and hidden state at time k respectively; The BiGRU network combines the forward and reverse GRU to obtain data features from two directions. In the process of time series data processing, BiGRU considers the correlation between data in the data sequence, thereby maximizing the use of time data. Two superimposed GRU layers are inserted on top of each other to form the basic structure of the BiGRU network. The hidden state In the forward direction, the hidden state By sliding the computation backwards, at the end of each time step, the outputs of the two layers are combined to generate the final output state , which is expressed as follows: (6).
[0026] (2) New non-crossed quantile regression (NCQR) Traditional regression can only predict the mean or median of future runoff. Quantile regression (QR) can predict the quantile of future runoff and quantify the uncertainty of the prediction. The definition of QR is as follows: (7), In the formula, is the dependent variable In the independent variable and The next Quantiles, is the regression coefficient vector, and the loss function of QR is: (8), In the formula, T is the number of samples in the test set, and They are i The independent and dependent variables of the samples are is the regression coefficient vector, function is defined as follows: (9), Where u represents the function input.
[0027] However, for traditional QR, a model can only generate a single quantile. In order to obtain probability density functions with different confidence levels and multiple prediction intervals, a large number of quantiles need to be predicted, which requires building and training a large number of QR models. The number of QR outputs is increased without losing accuracy. The improved QR can predict all required quantiles with one model The loss function of the improved QR is: (10), In the formula, Q Represents the number of improved QR output quantiles, function is defined as follows: (11), NCQR reconstructs the output of QR into three parts: the first quantile , the last quantile With the first quantile The difference L , and the ratio set ,in, yes and The difference between L The estimated values of each quantile can be obtained by the following formula: (12), In the formula, and are the first and second quantiles in the quantile set output by the model. m Quantiles.
[0028] In order to obtain valid and reliable quantiles, the output of NCQR needs to meet the following constraints.
[0029] (13), (14), (15), In the formula, and Represents the first and last quantiles in the quantile set output by NCQR. L express and The difference.
[0030] The purpose of this constraint is to avoid the occurrence of quantile crossing and ensure that the distance between adjacent quantiles is greater than 0 to meet the constraints of formulas (30) to (32). In the output layer, the output is activated by the Softplus function. L The neurons of , ensure that the output result is greater than 0, satisfying the constraints of formula (30); output The neurons are activated by the Softmax function to ensure that their outputs are greater than 0 and their sum is 1, satisfying the constraints of formulas (31) and (32).
[0031] (3) Kernel Density Estimation (KDE) The study uses KDE to convert the discrete quantiles predicted by BiGTU-NCQR into a continuous probability density function (PDF). KDE is a classic non-parametric estimation method that estimates the PDF of a random variable without assuming the probability distribution of the data in advance. Unlike parameter estimation methods, which can only predict the parameters of a parametric distribution, such as a Gaussian distribution, and further obtain a PDF in a fixed format, KDE can output a PDF in any form. The definition of KDE is as follows: (16), In the formula, is the number of samples, is the bandwidth, for PDF, is the kernel function, and the expression of the kernel function is shown in formula (34): (17), In the formula, Represents the input of the function.
[0032] Step 5: Train the model on the training set to obtain a trained runoff probability prediction model.
[0033] Step 6: Collect daily runoff data within a set time period, and pre-process the collected data to obtain the data set to be predicted.
[0034] Step 7: Input the dataset to be predicted into the trained runoff prediction model to obtain the predicted runoff probability density curve. The conditional quantile of is the result of point prediction. and The conditional quantiles are the lower and upper boundaries of the interval prediction results under the confidence level.
[0035] In summary, the flow chart of the runoff probability prediction method based on rolling decomposition and deep learning proposed by the present invention is as follows: Figure 2 shown.
[0036] Yichang Station and Zhutuo Station, two important control stations with different runoff characteristics in the upper reaches of the Yangtze River, were selected as instance objects. The runoff data in the instance are daily runoff data from January 1, 2014 to December 31, 2017. BiGRU-NCQR-KDE, GRU-NCQR-KDE and GRU-QR-KDE were selected as comparison models. For BiGRU and GRU, the number of model layers was selected as 2 and the hidden layer size was 64. For fair comparison, the number of quantiles of QR and NCQR outputs was 39. The Epanechnikov function was used as the kernel function for KDE of all models. The batch size of all models was set to 64. All models were trained for 100 cycles using the Adam optimizer with a learning rate of 0.002. All models were implemented based on the “pytorch 1.12.0” framework and the “scikit-learn1.1.1” package, and run on a computer equipped with an Intel(R) Core(TM) 3.60 GHz i7-9700 K CPU and an NVIDIA GeForce GTX 1660 Ti.
[0037] Effect after implementation In order to comprehensively evaluate the performance of the proposed runoff probability prediction model, the present invention compares with other models from the perspectives of point prediction, interval prediction and probability density prediction. For point prediction, Nash efficiency coefficient (NSE) and root mean square error (RMSE) are selected as evaluation indicators. For interval prediction, prediction interval coverage (PICP) and prediction interval normalized average width (PINAW) at 95% confidence level are selected. The continuous graded probability score (CRPS) is used as the evaluation criterion for probability density prediction. The evaluation indicators of all models in the Yichang station test set and the Zhutuo station test set are shown in Table 1.
[0038] Table 1 Evaluation indicators of all models on the Yichang station test set and the Zhutuo station test set
[0039] The present invention uses NSE and RMSE to evaluate the point prediction performance of the model. For Yichang Station, the NSE of GRU-QR-KDE and GRU-NCQR-KDE are 0.971 and 0.974 respectively, indicating that NCQR can ensure that quantile crossing is avoided while not affecting the point prediction accuracy of QR. The NSE of BiGRU-NCQR-KDE is 0.980, which is 0.006 higher than that of GRU-NCQR-KDE, and the NSE of VMD-BiGRU-NCQR-KDE is 0.005 higher than that of BiGRU-NCQR-KDE, which indicates that VMD based on the rolling decomposition strategy can improve the point prediction performance of the model while avoiding the decomposition of future information leakage. Similar conclusions can be obtained by comparing the NSE and RMSE of each model in the Zhutuo data set.
[0040] The PICP of the test sets of the four models at the two stations are all higher than the preset confidence level (95%), indicating that the prediction intervals obtained by all models are valid. At the same time, GRU-QR-KDE obtains the largest PINAW, which shows that the prediction interval of GRU-QR-KDE is the widest. The PNIAW obtained by BiGRU-NCQR-KDE on the two data sets are 0.133 and 0.130, respectively, which are 0.007 and 0.0061 less than that of GRU-NCQR-KDE, respectively. This shows that the bidirectional GRU can obtain more effective information from the model input compared with the unidirectional GRU, thereby reducing the uncertainty of the prediction. VMD-BiGRU-NCQR-KDE obtains the smallest PINAW at both Yichang Station and Zhutuo Station, indicating that it achieves the narrowest interval width in the interval prediction of all stations. This also shows that compared with other models, the prediction interval of VMD-BiGRU-NCQR-KDE can provide more information to decision makers at the same confidence level. Figure 3 and Figure 4 The point prediction and interval prediction results of VMD-BiGRU-NCQR-KDE on the test sets of Yichang Station and Zhutuo Station are shown. Figure 3 and Figure 4 It can be seen that most of the observation points are within the prediction interval with a confidence level of 95%, and the interval width is relatively narrow, indicating that VMD-BiGRU-NCQR-KDE can provide a suitable prediction interval.
[0041] As can be seen from Table 1, in the test set of Yichang Station, the CRPS of VMD-BiGRU-NCQR-KDE is 480.37, which is 8.21%, 11.54% and 22.99% less than BiGRU-NCQR-KDE, GRU-NCQR-KDE and GRU-QR-KDE, respectively, indicating that VMD-BiGRU-NCQR-KDE obtains the smallest CRPS. The same conclusion can be obtained in the dataset of Zhutuo Station. The results show that the probability density prediction performance of the model proposed in this paper is better than other comparison models.
[0042] The probability density curves predicted by VMD-BiGRU-NCQR-KDE at 6 moments selected at equal intervals in the test sets of the two sites are shown in Figure 5 and Figure 6 As shown in the figure, the time period in the figure represents the sequence number of the predicted runoff sequence on the test set. The shape of the probability density curves obtained by VMD-BiGRU-NCQR-KDE on the test sets of the two stations is neither too wide nor too narrow, indicating that these probability density curves are reasonable. Figure 5 It can be seen that the observed values in time periods 1, 73, and 262 are almost at the peak of the probability density curve. In time periods 145 and 218, the measured values are close to the peak of the probability density curve, which indicates that the model achieves good prediction accuracy in these time periods. The observed values in time period 290 are far away from the peak of the probability density curve, which indicates that the model has poor prediction accuracy in this time period. Figure 6 It can be seen that the measured values in periods 1, 73 and 262 are almost at the peak of the probability density curve, and in periods 145, 218 and 262, the measured values are close to the peak of the probability density curve. These probability density curves can comprehensively quantify the uncertainty of future daily runoff and provide more comprehensive and effective information for water resources planning and utilization.
[0043] The above embodiments are only preferred technical solutions of the present invention and should not be regarded as limitations of the present invention. The embodiments and features in the embodiments of the present application can be arbitrarily combined with each other without conflict. The protection scope of the present invention shall be the technical solutions recorded in the claims, including the equivalent replacement solutions of the technical features in the technical solutions recorded in the claims. That is, equivalent replacement improvements within this scope are also within the protection scope of the present invention.
Claims
1. A runoff probability prediction method based on rolling decomposition and deep learning, characterized in that: The prediction method comprises the following steps: Step 1: Collect historical daily runoff data series; Step 2: Decompose the data without leakage of future information through variational mode decomposition based on rolling decomposition strategy; Step 3: Divide the processed data into training set and test set; Step 4: Construct a runoff probability prediction model; Step 5: Train the model on the training set to obtain a trained runoff probability prediction model; Step 6: Collect daily runoff data within a set time period, and pre-process the collected data to obtain a data set to be predicted; Step 7: Input the data set to be predicted into the trained runoff prediction model to obtain the predicted runoff probability density curve; Complete runoff probability prediction based on rolling decomposition and deep learning.
2. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 1 is characterized in that: In step 2, decomposing the data without leakage of future information by VMD based on the rolling decomposition strategy specifically includes the following steps: Step 2.1: Calculate the maximum information coefficient MIC between the historical runoff and the current runoff. The historical runoff duration with a MIC value greater than 0.7 is used as the decomposition window length. WL ; Step 2.2: Reconstruct the runoff sequence X into a window length of WL , a two-dimensional matrix X with a sliding step size of 1 R , the matrix size is (N- WL +1, WL ); Step 2.3: Decompose X row by row using VMD R , and get the decomposition result X. In the case of no information leakage, the matrix size is (N- WL +1, WL , K), where K represents the number of sub-patterns.
3. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 2 is characterized in that: In step 2.2, X R The expression is as follows: (1), In the formula, represents the first i elements, N is the length of the runoff sequence X, WL is the length of the subsequence participating in each decomposition in the runoff sequence X.
4. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 1 is characterized in that: In step S4, the prediction model is BiGRU-NCQR-KDE, and the model consists of a bidirectional gated recurrent unit BiGRU module, a non-crossed quantile regression NCQR module and a kernel density estimation KDE that are connected in sequence.
5. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 4 is characterized in that: In the BiGRU module, The GRU unit has two gates to manage the flow of information within the unit. The reset gate determines whether to combine the new input with the previously stored data, and the update gate determines how much stored information to keep. For a single GRU unit, the update gate is calculated. , Reset Gate , candidate hidden states and the GRU hidden state The method is as follows: (2), (3), (4), (5), In the formula, is the input vector, , , , , and is the weight matrix; and , , is the bias vector, represents the Sigmoid activation function, represents unit multiplication, and They are the candidate hidden state and hidden state at time k respectively; The BiGRU network combines the forward and reverse GRU to obtain data features from two directions. In the process of time series data processing, two superimposed GRU layers are inserted on top of each other to form the basic structure of the BiGRU network. In the forward direction, the hidden state By sliding the computation backwards, at the end of each time step, the outputs of the two layers are combined to generate the final output state , which is expressed as follows: (6)。 6. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 4 is characterized in that: In the non-crossed quantile regression NCQR module, the definition of quantile regression QR is as follows: (7), In the formula, is the dependent variable In the independent variable The next Quantiles, is the regression coefficient vector, and the loss function of QR is: (8), In the formula, T is the number of samples in the test set, and They are i The independent and dependent variables of the samples are is the regression coefficient vector, function is defined as follows: (9), Where u represents the function input.
7. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 6 is characterized in that: In the non-crossed quantile regression NCQR module, Improve QR, the improved QR uses a model to predict all required quantiles ; The loss function of the improved QR is: (10), In the formula, Q Represents the number of improved QR output quantiles, function is defined as follows: (11), In the formula, u represents the function input; NCQR reconstructs the output of QR into three parts: the first quantile , the last quantile With the first quantile The difference L , and the ratio set ,in, yes and The difference between L The estimated values of each quantile are obtained by the following formula: (12), In the formula, and are the first and second quantiles in the quantile set output by the model. m Quantiles.
8. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 7 is characterized in that: The output of NCQR satisfies the following constraints: (13), (14), (15), In the formula, and Represents the first and last quantiles in the quantile set output by NCQR. L express and The difference.
9. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 4 is characterized in that: In the kernel density estimation KDE, KDE is used to convert the discrete quantiles predicted by BiGTU-NCQR into a continuous probability density function PDF; The definition of KDE is as follows: (16), In the formula, is the number of samples, is the bandwidth, for PDF, is the kernel function, and the expression of the kernel function is shown in formula (17): (17), In the formula, Represents the input of the function.
10. The runoff probability prediction method based on rolling decomposition and deep learning according to claim 1 is characterized in that: In step 7, the runoff probability density curve obtained The conditional quantile of is the result of point prediction. and The conditional quantiles are the lower and upper boundaries of the interval prediction results under the confidence level.
Citation Information
Patent Citations
Wind speed prediction method based on deep neural network without future information leakage
CN115330085A
Landslide displacement intelligent prediction method
CN116090661A
Ultra-short-term wind power interval rolling prediction method based on VMD-PSR-LSTM-QR
CN117236482A
