Regional short-term temperature intelligent prediction method based on procedural interpretable analysis

By introducing process-interpretable analysis and deep basic model of nonlinear band constraint terms in temperature prediction methods, the shortcomings of existing temperature prediction methods in terms of accuracy and interpretability are solved, and more efficient multivariable and spatiotemporal data are achieved. Processing improves prediction accuracy and interpretability.

CN119415910AActive Publication Date: 2025-02-11CHAOHU UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411457129.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-02-11
Estimated Expiration
2044-10-18

AI Technical Summary

Technical Problem

Existing temperature prediction methods have shortcomings in accuracy and interpretability, especially in multivariable and spatiotemporal data processing, and lack effective treatments on the effects of extreme values ​​in temperature time series.

Method used

A regional short-term temperature intelligent prediction method based on process-interpretable analysis is proposed. By obtaining the temperature time series of the target station and the reference station, screening similar stations, constructing eigenvalue samples, and using convex planning integration depth with nonlinear constraint terms The basic model makes predictions. This method combines multivariable and spatiotemporal information, performs secondary training to improve prediction accuracy, and provides interpretability through deep SHAP analysis.

Benefits of technology

It improves the accuracy and interpretability of temperature prediction, can more effectively deal with extreme values ​​in the temperature time series, and improves the accuracy and credibility of prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119415910A_ABST
    Figure CN119415910A_ABST
Patent Text Reader

Abstract

The invention discloses a regional short-term air temperature intelligent prediction method based on procedural interpretable analysis, and provides the procedural interpretable analysis of air temperature prediction so as to reveal important factors influencing air temperature procedural prediction. According to the method, secondary training is carried out on the regional air temperature prediction model, and the contribution rate is adopted as the feedback of the input part of the model, so that the understanding of the air temperature prediction process is enhanced, effective feedback is provided for the model, the performance of the model is expected to be improved, and a more accurate regional air temperature prediction result can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of temperature prediction, and in particular relates to a method for intelligently predicting regional short-term temperature based on process interpretable analysis. Background Art

[0002] In the field of meteorology, current mainstream temperature forecasts can be divided into long-term and short-term forecasts according to the time span. Each category can be further divided into single variable and multivariate forecasts. At the same time, current temperature forecasting methods can also be divided into numerical and statistical methods. Statistical methods can be divided into traditional statistical methods and modern statistical methods. Although current research has achieved some success in the field of temperature forecasting, there are still some challenges.

[0003] Most current temperature prediction methods use numerical methods, which combine mathematics and physics to establish equations to predict or estimate / invert the temperature. The main drawback is that numerical methods cannot be based on historical data, so it is difficult to determine parameters and solve equations. Statistical methods build models based on observed data, but when the amount of data is small, traditional statistical methods cannot achieve ideal prediction accuracy. Most literature or research using modern statistical methods almost all use a single machine learning model, so the accuracy is not high;

[0004] In the research based on temperature prediction, most of the above existing methods lack the research on the interpretability of the model; although some documents conduct interpretability analysis, they mainly use tree-type shallow interpreters (TreeExplainer), and still lack the "process" interpretable analysis of time series data. At the same time, the characteristic variables used for temperature prediction in most documents are single variables. For example, only using the temperature single variable for prediction often does not have high prediction accuracy; even if some documents or studies use multiple characteristic variables, they only consider other meteorological variables (such as air pressure, relative humidity, etc.) other than the temperature of a single station (single meteorological detection station), and do not consider the data of other meteorological detection stations, which will also make the prediction accuracy low. The characteristic variables of some references use single-step data with a lag time of 1 hour, while the patent of this invention uses "multi-step" data with a lag time of 8 hours that comprehensively considers the prediction accuracy, computing resources and background knowledge of weather processes;

[0005] In addition, most literature or research uses the loss function that comes with artificial intelligence, and therefore does not consider the impact of some "extreme values" in the temperature time series on the prediction results. As a result, the prediction results will be affected by the extreme values ​​of "small samples" (that is, the sample values ​​are compared with normal values, the number of extreme values ​​is relatively small and the sample size is also relatively small), so the prediction accuracy is not high. Summary of the invention

[0006] In order to solve the problems existing in the prior art, the present invention proposes a regional short-term temperature intelligent prediction method based on process interpretable analysis.

[0007] The technical solution of the present invention is as follows:

[0008] A method for intelligent prediction of regional short-term temperature based on process-interpretable analysis, wherein the region is provided with a target station and a reference station, including:

[0009] Obtaining the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station;

[0010] Based on the similarity between the temperature time series of the target station and the reference station, similar stations are screened in the reference station by considering the nonlinear relationship between the temperature time series and the temperature time series;

[0011] Based on the temperature time series of the selected similar stations and the temperature time series and auxiliary variable time series of the target station, the characteristic value samples are constructed with the set lag time;

[0012] Based on the characteristic value samples, a pre-built regional temperature prediction model is initially trained, and based on the regional temperature prediction model that has been initially trained, an initial regional temperature prediction result is obtained;

[0013] Performing a process interpretable analysis on the initial regional temperature prediction results to obtain process interpretable contribution rates of different eigenvalue samples for measuring the importance of eigenvalue samples to temperature prediction; based on the process interpretable contribution rates, updating the importance of salient feature samples to temperature prediction for the regional temperature prediction model that has been initially trained;

[0014] Based on the characteristic value samples, the updated regional temperature prediction model is trained for a second time, and based on the regional temperature prediction model completed by the second training, a secondary regional short-term temperature prediction result is obtained and used as the final regional short-term temperature intelligent prediction result.

[0015] Furthermore, the auxiliary variables include air pressure, relative humidity, water vapor pressure, wet bulb temperature, wind speed and daily temperature variation time.

[0016] Furthermore, the specific steps of obtaining the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station include:

[0017] Acquire historical meteorological characteristic values ​​of the target station and historical temperature values ​​of the reference station, wherein the meteorological characteristics include temperature and auxiliary variables;

[0018] The historical meteorological characteristic values ​​of the target station and the historical temperature values ​​of the reference station are respectively subjected to preprocessing including missing value interpolation processing and feature normalization processing and sorting processing by timestamp to form the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station; wherein,

[0019] The specific method of the missing value interpolation process is: using the K-nearest neighbor algorithm for interpolation;

[0020] The specific method of the feature normalization processing is: using the Max-Min normalization method to perform feature normalization processing on the historical meteorological feature values ​​and the historical temperature values. The specific processing formula is as follows:

[0021]

[0022] Where y is the historical meteorological characteristic value or historical temperature value after feature normalization; x is the original value of the historical meteorological characteristic value or historical temperature value; min is the minimum value of the original value of the historical meteorological characteristic value or the historical temperature value; x max It is the maximum value among the original values ​​of historical meteorological characteristic values ​​or historical temperature values.

[0023] Furthermore, the specific method for screening similar stations in the reference station based on the similarity between the temperature time series of the target station and the reference station while considering the nonlinear relationship between the temperature time series and the data within the temperature time series includes:

[0024] The similarity between the temperature time series of the target station and the reference station is calculated, and several reference stations with the highest similarity to the target station are selected as similar stations; wherein the similarity calculation formula is as follows:

[0025]

[0026] Where p(x1) is the marginal distribution of the temperature time series x1 of the target station; p(y1) is the marginal distribution of the temperature time series y1 of the reference station; p(x1,y1) is the joint distribution of the temperature time series x1 of the target station and the temperature time series y1 of the reference station; I(x1;y1) is the similarity between the temperature time series x1 of the target station and the temperature time series y1 of the reference station, that is, the relative entropy of the joint distribution and marginal distribution between the temperature time series x1 of the target station and the temperature time series y1 of the reference station.

[0027] Furthermore, the specific method of constructing the characteristic value sample with the set lag time based on the screened temperature time series of similar stations and the temperature time series and auxiliary variable time series of the target station includes:

[0028] Set the lag time n that takes into account the prediction accuracy and task requirements;

[0029] Based on the temperature time series of the selected similar stations, the temperature time series of the target station and the auxiliary variable time series, a sample with characteristic values ​​is constructed:

[0030] Θ={X1,X2,...,X m-1 ,X m}

[0031] X1={x1(hn),x1(h-n+1),...,x1(h)}

[0032] X2={x2(hn),x2(h-n+1),...,x2(h)} ...

[0034] X m-k ={x m-k (hn),x m-k (h-n+1),...,x m-k (h)}

[0035] X m-k+1 ={x m-k+1 (hn),x m-k+1 (h-n+1),...,x m-k+1 (h)} ...

[0037] X m ={x m (hn),x m (h-n+1),...,x m (h)}

[0038] Where Θ is the eigenvalue sample set; X1 is the first subset formed based on the temperature time series of the target station; X2~X m-k X is the 2nd to mkth subsets formed based on the auxiliary variable time series of the target station; m-k+1 ~X m are the m-k+1th to mth subsets formed based on the temperature time series of similar stations, and m is the number of variable dimensions of the eigenvalue sample;

[0039] x1(hn), x1(h-n+1), ..., x1(h) are the eigenvalue samples of the temperature of the target station at the corresponding time hn, h-n+1, ​​..., h, respectively, and n is the number of lag time dimensions of the eigenvalue samples; x2(hn), x2(h-n+1), ..., x2(h) are the eigenvalue samples of the first auxiliary variable of the target station at the corresponding time hn, h-n+1, ​​..., h, respectively;

[0040] x m-k (hn),x m-1 (h-n+1),...,x m-1 (h) are the characteristic value samples of the m-2th auxiliary variables of the target station corresponding to time hn, h-n+1, ​​..., h, and the total number of auxiliary variables is m-2;

[0041] x m-k+1 (hn),x m-k+1 (h-n+1),...,x m-k+1 (h) are the characteristic value samples of the temperature of the first similar station corresponding to time hn, h-n+1, ​​..., h;

[0042] x m (hn),x m (h-n+1),...,x m (h) are the characteristic value samples of the temperature at the k-1th similar station corresponding to time hn, h-n+1, ​​..., h, and the total number of similar stations is k-1;

[0043] Then the relationship between the characteristic value sample and the actual temperature is:

[0044]

[0045] Where y(h+k) is the actual temperature value at the prediction time h+k; f(*) is the relationship model between the eigenvalue sample and the actual temperature; ε is the error.

[0046] Furthermore, the temperature prediction model adopts a nonlinear convex programming with constraints to integrate the deep foundation model;

[0047] The objective function of the temperature prediction model is:

[0048]

[0049] Where Z is the difference between the predicted temperature and the actual temperature; α is the α-norm; w j is the integration weight of the deep base model j to the minimization function, j∈[1,k], k is the total number of deep base models; y i is the actual value of the temperature of the value i to be predicted; is the temperature prediction value of deep basic model j for the predicted value i, n is the total number of values ​​to be predicted; λ is the regularization parameter, which is used to balance the two objective terms of the minimization function; w j The norm of ;

[0050] The constraints of the temperature prediction model are:

[0051] The loss function of the basic model in the temperature prediction model is:

[0052]

[0053]

[0054] Where ρ(r) is the loss function value corresponding to the basic model error r; r is the difference between the temperature prediction value of the basic model and the actual temperature value, that is, the basic model error; c is the robust scaling constant.

[0055] Furthermore, the deep basic model integrated in the temperature prediction model includes a gated recurrent unit, a bidirectional gated recurrent unit convolutional neural network, a long short-term memory network convolutional neural network coupled with a long short-term memory network, a convolutional neural network coupled with a bidirectional long short-term memory network, a convolutional neural network coupled with a gated recurrent unit, and a convolutional neural network coupled with a bidirectional gated recurrent unit.

[0056] Furthermore, the temperature prediction model uses the standard deviation index SD, the root mean square error index RMSE and the correlation coefficient index CC to evaluate the prediction accuracy of the model. The expressions of the standard deviation index SD, the root mean square error index RMSE and the correlation coefficient index CC are as follows:

[0057]

[0058]

[0059]

[0060] In the formula, x i is the difference between the predicted temperature value and the actual temperature value of the predicted value i; i is the actual value of the temperature of the value i to be predicted; is the mean of the actual temperature value; P i is the predicted value of the temperature of the predicted value i; μ is the mean of the difference between the predicted value of the temperature of the predicted value i and the actual value of the temperature, n is the number of values ​​to be predicted.

[0061] Furthermore, the process interpretable analysis of the initial regional temperature prediction result is performed to obtain a specific method for the process interpretable contribution rate of different eigenvalue samples for measuring the importance of eigenvalue samples to temperature prediction:

[0062] Based on the relationship between the meteorological characteristics and the lag time in the characteristic value samples, a set Δ of variable and time step combinations is formed,

[0063] Δ={(i,t):1≤i≤M,1≤t≤N}

[0064] Where (i, t) is the combination of the i-th variable and the t-th time step; M is the total number of variables, corresponding to the number of variable dimensions in the eigenvalue sample; N is the total number of time steps, corresponding to the number of lag time dimensions in the eigenvalue sample;

[0065] Calculate the ProcessSHAP value for different combinations of variables and time steps. The ProcessSHAP value P for the combination of the i-th variable and the t-th time step is (i,t) ,

[0066]

[0067]

[0068] In the formula, is the characteristic function, which means that when the input X * The prediction output when there are only variable time pairs in the set S; Δ i is the set of all time steps of variable i; set S is a subset of all features; x S is a subvector of x, representing the features in the set S; f(·) represents the prediction model; x represents the input of the prediction model;

[0069] For different combinations of variables and time steps, the sum of the ProcessSHAP values ​​f(x * ),

[0070]

[0071] Where P 0,0 This is the feature function output when all features do not exist. The sum of the feature function outputs for all combined feature sets;

[0072] The ProcessSHAP values ​​under different combinations of variables and time steps are normalized to obtain the process explainable contribution rate of different combinations of variables and time steps. For the process explainable contribution rate C of the combination of the i-th variable and the t-th time step, (i,t) The calculation formula is as follows:

[0073]

[0074] The process based on the combination of variables and time steps can explain the contribution rate, and the process of obtaining different eigenvalue samples to measure the importance of eigenvalue samples to temperature prediction can explain the contribution rate.

[0075] Furthermore, the specific steps of updating the importance of the salient feature samples to the temperature prediction of the regional temperature prediction model that has been initially trained based on the process explainable contribution rate include:

[0076] The process explainable contribution rate is coupled as a weight to the convolution kernel of the first convolution layer in the regional temperature prediction model that has been initially trained, thereby updating the importance of the salient feature samples to the temperature prediction. The coupled convolution layer is calculated as follows:

[0077]

[0078] Where x is the xth row in the data matrix, y is the yth column in the data matrix, the operator * represents the convolution operation, l is the number of convolutional layers, and θ is (l) is the activation function of the lth convolutional layer; w (l) is the convolution kernel of the lth convolution layer; A×B is the receptive field size of the convolution kernel, and z is the sliding step size; is the bias term of the lth convolutional layer; C (i,t) The process interpretable contribution of the eigenvalue sample corresponding to the combination of the ith variable and the tth time step.

[0079] Furthermore, in the secondary training, the model parameters of all convolutional layers are fixed, and only the model parameters of one fully connected layer are adjusted.

[0080] An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to call and run the computer program stored in the memory to execute any of the methods described above.

[0081] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0082] Compared with the prior art, the present invention has the following beneficial effects:

[0083] The present invention proposes a regional short-term temperature intelligent prediction method based on process interpretable analysis. The method screens similar stations among the reference stations based on the similarity between the temperature time series of the target station and the reference station, and constructs characteristic value samples and trains the temperature prediction model based on the temperature time series of the similar stations and the temperature time series and auxiliary variable time series of the target station. The design adopts "multivariables" with spatial information to explore the relationship between different variables, and establishes a temperature prediction model with "space-time multivariable multi-step (lag time) integrated deep basic model", which improves the prediction accuracy.

[0084] Compared with similar station screening using Euclidean distance or Pearson correlation coefficient, the method of the present invention considers from the mutual information dimension, considers the nonlinear relationship of data between temperature time series and within temperature time series, and screens similar stations. In this way, similar stations with higher similarity to the target station can be screened out, and the changing trend of temperature can be explored, thereby improving the accuracy of model prediction to a certain extent.

[0085] Different from the interpretability analysis using tree-type shallow interpreters, the method of the present invention proposes a "process" interpretability analysis of temperature prediction based on the use of deep SHAP to analyze the temperature prediction results, so as to reveal the important factors affecting the process prediction of temperature. This paves the way for the secondary training regional temperature prediction model of the present invention.

[0086] The present invention conducts secondary training on the regional temperature prediction model, conducts initial training based on the constructed feature samples, and conducts process interpretable analysis on the initial regional temperature prediction results to obtain the process interpretable contribution rate for measuring the importance of the feature value samples to the temperature prediction, and then based on the process interpretable contribution rate, the regional temperature prediction model that has completed the initial training is updated to highlight the importance of the feature value samples to the temperature prediction, and the prediction model is guided to focus on learning this section (or a certain process) of data, thereby constructing a regional temperature prediction model that is more "focused" on these feature value samples. This update effectively shifts the focus of the prediction model in the convolution process. The present invention uses the contribution rate as feedback to the input part of the model, enhances the understanding of the temperature prediction process, and provides effective feedback for the model, in order to improve its performance, thereby obtaining more accurate regional temperature prediction results.

[0087] The present invention fixes the model parameters of all convolutional layers during the secondary training process and only adjusts the model parameters of the last fully connected layer. This design ensures that only a small number of parameters are optimized during the secondary training process to improve the timeliness of temperature prediction and better implement the actual transformation and application of the results. The regression model obtained through this training process effectively improves the performance of temperature prediction.

[0088] The present invention adopts a set lag time when constructing characteristic value samples. The lag time can be set according to the prediction accuracy, task requirements and meteorological background of the weather process, which is convenient for technical personnel to choose according to their own situation (professional field or research field).

[0089] The present invention constructs a temperature prediction model based on a nonlinear convex programming with constraints and an integrated deep basic model framework. The design of integrated learning can obtain more information at the bottom layer of the data and obtain better prediction results.

[0090] Different from the loss functions such as Mean Absolute Error (MAE) and Mean Square Error (MSE) commonly used in artificial intelligence models, the present invention proposes to use the M-estimation (Cauchy, modified Huber function) robust statistical function as a loss function in view of the extreme value characteristics of meteorological data, so as to reduce the impact of "extreme values" in the long temperature series on the prediction results and improve the temperature prediction accuracy. The robust scale constant in the M-estimation can be customized in combination with different application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] Figure 1 A schematic diagram of a flow chart of a method for intelligently predicting regional short-term temperature based on process-interpretable analysis in an embodiment;

[0092] Figure 2 It is a principle block diagram of a regional short-term temperature intelligent prediction method based on process interpretable analysis in an embodiment;

[0093] FIG3( a ) is a distribution map of national-level sites in Anhui Province in the application example;

[0094] FIG3( b ) is a distribution diagram of representative stations in an application embodiment;

[0095] Figure 4 This is a RMS error analysis diagram for predicting temperatures for different durations using different loss functions in the application example;

[0096] Fig. 5(a) is a schematic diagram of the use of standard deviation values ​​to measure the accuracy of temperature prediction for different durations by different models at station No. 58112 in the application embodiment; Fig. 5(b) is a schematic diagram of the use of standard deviation values ​​to measure the accuracy of temperature prediction for different durations by different models at station No. 58118 in the application embodiment; Fig. 5(c) is a schematic diagram of the use of standard deviation values ​​to measure the accuracy of temperature prediction for different durations by different models at station No. 58321 in the application embodiment; Fig. 5(d) is a schematic diagram of the use of standard deviation values ​​to measure the accuracy of temperature prediction for different durations by different models at station No. 58423 in the application embodiment;

[0097] FIG6(a) is a scatter plot of the predicted and observed values ​​of the temperature for 1 hour corresponding to the test set in the application embodiment; FIG6(b) is a scatter plot of the predicted and observed values ​​of the temperature for 3 hours corresponding to the test set in the application embodiment; FIG6(c) is a scatter plot of the predicted and observed values ​​of the temperature for 6 hours corresponding to the test set in the application embodiment; FIG6(d) is a scatter plot of the predicted and observed values ​​of the temperature for 12 hours corresponding to the test set in the application embodiment;

[0098] Figure 7 This is a scatter plot of the process characteristic density of temperature prediction at different stations based on the SHAP deep interpreter in the application example.

[0099] FIG8(a) is a time series diagram of the predicted values ​​and observed values ​​of the temperature 1 hour, 2 hours and 3 hours in advance corresponding to the station number 58112 in the application embodiment; FIG8(b) is a time series diagram of the predicted values ​​and observed values ​​of the temperature 1 hour, 2 hours and 3 hours in advance corresponding to the station number 58118 in the application embodiment; FIG8(c) is a time series diagram of the predicted values ​​and observed values ​​of the temperature 1 hour, 2 hours and 3 hours in advance corresponding to the station number 58321 in the application embodiment; FIG8(d) is a time series diagram of the predicted values ​​and observed values ​​of the temperature 1 hour, 2 hours and 3 hours in advance corresponding to the station number 58423 in the application embodiment;

[0100] Fig. 9 It is a process heatmap analysis diagram of temperature prediction at different stations in the application example. DETAILED DESCRIPTION

[0101] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent modifications of the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0102] Embodiment 1:

[0103] The present invention provides a regional short-term temperature intelligent prediction method based on process interpretable analysis. A plurality of meteorological detection stations including a target station and a reference station are arranged in the region, such as Figure 1 and Figure 2 As shown, including:

[0104] Obtain the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station;

[0105] Based on the similarity between the temperature time series of the target station and the reference station, similar stations are screened in the reference station by considering the nonlinear relationship between the temperature time series and the data within the temperature time series;

[0106] Based on the temperature time series of the selected similar stations and the temperature time series and auxiliary variable time series of the target station, the characteristic value samples are constructed with the set lag time;

[0107] Based on the characteristic value samples, the pre-built regional temperature prediction model is initially trained, and based on the regional temperature prediction model that has been initially trained, an initial regional temperature prediction result is obtained;

[0108] Conduct process interpretable analysis on the initial regional temperature prediction results to obtain process interpretable contribution rates of different eigenvalue samples for measuring the importance of eigenvalue samples to temperature prediction; based on the process interpretable contribution rates, update the importance of salient feature samples to temperature prediction for the regional temperature prediction model that has been trained for the first time;

[0109] Based on the eigenvalue samples, the updated regional temperature prediction model is trained for the second time. Based on the regional temperature prediction model completed by the second training, the secondary regional short-term temperature prediction result is obtained and used as the final regional short-term temperature intelligent prediction result.

[0110] Embodiment 2:

[0111] This embodiment is further designed on the basis of the first embodiment in that the auxiliary variables in this embodiment include air pressure, relative humidity, water vapor pressure, wet bulb temperature, wind speed and daily temperature variation time.

[0112] Embodiment three:

[0113] This embodiment is further designed on the basis of the first embodiment in that the specific steps of obtaining the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station in this embodiment include:

[0114] Obtain historical meteorological characteristic values ​​of the target station and historical temperature values ​​of the reference station, where the meteorological characteristics include temperature and auxiliary variables;

[0115] The historical meteorological characteristic values ​​of the target station and the historical temperature values ​​of the reference station are preprocessed by interpolation of missing values ​​and normalization of characteristics, and sorted by timestamp to form the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station; wherein,

[0116] The specific method of missing value interpolation is as follows:

[0117] The K-Nearest Neighbors (KNN) algorithm is used for interpolation. The principle of KNN is to find the "closest" K samples in the data set and use the average value of the K samples for interpolation;

[0118] The specific method of feature normalization is:

[0119] The Max-Min normalization method is used to perform feature normalization processing on historical meteorological characteristic values ​​and historical temperature values. The specific processing formula is as follows:

[0120]

[0121] Where y is the historical meteorological characteristic value or historical temperature value after feature normalization; x is the original value of the historical meteorological characteristic value or historical temperature value; min is the minimum value of the original value of the historical meteorological characteristic value or the historical temperature value; x max It is the maximum value among the original values ​​of historical meteorological characteristic values ​​or historical temperature values.

[0122] Embodiment 4:

[0123] This embodiment is further designed on the basis of the first embodiment in that, in this embodiment, based on the similarity between the temperature time series of the target station and the reference station, a specific method for screening similar stations in the reference station that simultaneously considers the nonlinear relationship between the temperature time series and the data within the temperature time series includes:

[0124] Calculate the similarity between the temperature time series of the target station and the reference station, and select several reference stations with the highest similarity to the target station as similar stations; the similarity calculation formula is as follows:

[0125]

[0126] Where p(x1) is the marginal distribution of the temperature time series x1 of the target station; p(y1) is the marginal distribution of the temperature time series y1 of the reference station; p(x1,y1) is the joint distribution of the temperature time series x1 of the target station and the temperature time series y1 of the reference station; I(x1;y1) is the similarity between the temperature time series x1 of the target station and the temperature time series y1 of the reference station, that is, the relative entropy of the joint distribution and marginal distribution between the temperature time series x1 of the target station and the temperature time series y1 of the reference station.

[0127] Embodiment five:

[0128] This embodiment is further designed on the basis of the first embodiment in that, in this embodiment, based on the screened temperature time series of similar stations and the temperature time series and auxiliary variable time series of the target station, a specific method for constructing a characteristic value sample with a set lag time includes:

[0129] Set the lag time n that takes into account the prediction accuracy and task requirements;

[0130] Construct feature value samples based on the temperature time series of the selected similar stations, the temperature time series of the target station, and the auxiliary variable time series:

[0131] Θ={X1,X2,...,X m-1 ,X m}

[0132] X1={x1(hn),x1(h-n+1),...,x1(h)}

[0133] X2={x2(hn),x2(h-n+1),...,x2(h)} ...

[0135] X m-k ={x m-k (hn),x m-k (h-n+1),...,x m-k (h)}

[0136] X m-k+1 ={x m-k+1 (hn),x m-k+1 (h-n+1),...,x m-k+1 (h)} ...

[0138] X m ={x m (hn),x m (h-n+1),...,x m (h)}

[0139] Where Θ is the eigenvalue sample set; X1 is the first subset formed based on the temperature time series of the target station; X2~X m-k X is the 2nd to mkth subsets formed based on the auxiliary variable time series of the target station; m-k+1 ~X m are the m-k+1th to mth subsets formed based on the temperature time series of similar stations, and m is the number of variable dimensions of the eigenvalue sample;

[0140] x1(hn), x1(h-n+1), ..., x1(h) are the eigenvalue samples of the temperature of the target station at the corresponding time hn, h-n+1, ​​..., h, respectively, and n is the number of lag time dimensions of the eigenvalue samples; x2(hn), x2(h-n+1), ..., x2(h) are the eigenvalue samples of the first auxiliary variable of the target station at the corresponding time hn, h-n+1, ​​..., h, respectively;

[0141] x m-k (hn),x m-1 (h-n+1),...,x m-1 (h) are the characteristic value samples of the m-2th auxiliary variables of the target station corresponding to time hn, h-n+1, ​​..., h, and the total number of auxiliary variables is m-2;

[0142] x m-k+1 (hn),x m-k+1 (h-n+1),...,x m-k+1(h) are the characteristic value samples of the temperature of the first similar station corresponding to time hn, h-n+1, ​​..., h;

[0143] x m (hn),x m (h-n+1),...,x m (h) are the characteristic value samples of the temperature at the k-1th similar station corresponding to time hn, h-n+1, ​​..., h, and the total number of similar stations is k-1;

[0144] Then the relationship between the characteristic value sample and the actual temperature is:

[0145]

[0146] Where y(h+k) is the actual temperature value at the prediction time h+k; f(*) is the relationship model between the eigenvalue sample and the actual temperature; ε is the error.

[0147] Embodiment six:

[0148] This embodiment is further designed on the basis of the first embodiment in that the temperature prediction model in this embodiment adopts a nonlinear convex programming integrated deep basic model with constraints;

[0149] The objective function of the temperature prediction model is:

[0150]

[0151] Where Z is the difference between the predicted temperature and the actual temperature; α is the α-norm; w j is the integration weight of the deep base model j to the minimization function, j∈[1,k], k is the total number of deep base models; y i is the actual value of the temperature of the value i to be predicted; is the temperature prediction value of deep basic model j for the predicted value i, n is the total number of values ​​to be predicted; λ is the regularization parameter, which is used to balance the two objective terms of the minimization function; w j The norm of ;

[0152] The constraints of the temperature prediction model are:

[0153]

[0154] The loss function of the basic model of the temperature prediction model is:

[0155]

[0156]

[0157] Where ρ(r) is the loss function value corresponding to the model error r; r is the difference between the temperature prediction value of the basic model and the actual temperature value, that is, the basic model error; c is a constant, also called the robust scaling constant.

[0158] Embodiment seven:

[0159] This embodiment is further designed on the basis of the sixth embodiment in that the deep basic model integrated in the temperature prediction model in this example includes a gated recursive unit (GRU), a bidirectional gated recursive unit (BiGRU), a convolutional neural network (CNN), a long short-term memory network (LSTM), a convolutional neural network coupled with a long short-term memory network CNN-LSTM, a convolutional neural network coupled with a bidirectional long short-term memory network CNN-BiLSTM, a convolutional neural network coupled with a gated recursive unit CNN-GRU, and a convolutional neural network coupled with a bidirectional gated recursive unit CNN-BiGRU.

[0160] Embodiment eight:

[0161] This embodiment is further designed on the basis of the sixth embodiment in that the temperature prediction model in this embodiment adopts the standard deviation index SD (standard deviation, SD for short), the root mean square error index RMSE (Root Mean Square Error, RMSE for short) and the correlation coefficient index CC (correlation coefficient, CC for short) to evaluate the prediction accuracy of the model, and the expressions of the standard deviation index SD, the root mean square error index RMSE and the correlation coefficient index CC are as follows:

[0162]

[0163]

[0164]

[0165] In the formula, x i is the difference between the predicted temperature value and the actual temperature value of the predicted value i; i is the actual value of the temperature of the value i to be predicted; is the mean of the actual temperature value; P i is the predicted value of the temperature of the predicted value i; μ is the mean of the difference between the predicted value of the temperature of the predicted value i and the actual value of the temperature, n is the number of values ​​to be predicted.

[0166] Embodiment nine:

[0167] This embodiment is further designed on the basis of the first embodiment in that a process interpretable analysis is performed on the initial regional temperature prediction result in this example to obtain a specific method for the process interpretable contribution rate of different eigenvalue samples for measuring the importance of the eigenvalue samples to the temperature prediction:

[0168] Assume x∈R M×N is a time series (e.g., temperature) with M variables and N time steps (lag times). Based on the relationship between meteorological characteristics and lag times in the eigenvalue samples, a set of variable and time step combinations Δ is formed.

[0169] Δ={(i,t):1≤i≤M,1≤t≤N}

[0170] Where (i, t) is the combination of the i-th variable and the t-th time step; M is the total number of variables, corresponding to the number of variable dimensions in the eigenvalue sample; N is the total number of time steps, corresponding to the number of lag time dimensions in the eigenvalue sample;

[0171] Calculate the ProcessSHAP value for different combinations of variables and time steps. The ProcessSHAP value P for the combination of the i-th variable and the t-th time step is (i,t) ,

[0172]

[0173]

[0174] In the formula, is the characteristic function, which means that when the input X * The prediction output when there are only variable time pairs in the set S; Δ i is the set of all time steps of variable i; set S is a subset of all features; x S is a subvector of x, representing the features in the set S; f(·) represents the prediction model; x represents the input of the prediction model;

[0175] For different combinations of variables and time steps, the sum of the ProcessSHAP values ​​f(x * ), Where P 0,0 This is the feature function output when all features do not exist. The sum of the feature function outputs for all combined feature sets;

[0176] For the original / classic CNN convolutional layer, assume that the activation function of the lth convolutional layer is θ (l) , by changing θ(l) With the convolution kernel w (l) Convolution gets the output O (l) The receptive field size of the convolution kernel is A×B, and the sliding step size is z. The bias term is expressed as The classic or original convolutional layer is calculated as follows:

[0177]

[0178] Where x represents the x-th row in the data matrix, y represents the y-th column in the data matrix, and the operator * represents the convolution operation.

[0179] The ProcessSHAP values ​​under different combinations of variables and time steps are normalized to obtain the process explainable contribution rate of different combinations of variables and time steps. For the process explainable contribution rate C of the combination of the i-th variable and the t-th time step, (i,t) The calculation formula is as follows:

[0180]

[0181] The process based on the combination of variables and time steps can explain the contribution rate, and the process of obtaining different eigenvalue samples to measure the importance of eigenvalue samples to temperature prediction can explain the contribution rate.

[0182] Embodiment ten:

[0183] This embodiment is further designed on the basis of the first embodiment in that, in this embodiment, based on the process explainable contribution rate, the specific steps of updating the importance of the salient feature samples to the temperature prediction of the regional temperature prediction model that has been initially trained include:

[0184] The process explainable contribution rate is coupled as a weight to the convolution kernel of the convolution layer in the regional temperature prediction model that has been initially trained, thereby updating the importance of the salient feature samples to the temperature prediction. The coupled convolution layer is calculated as follows:

[0185]

[0186] Where x is the xth row in the data matrix, y is the yth column in the data matrix, the operator * represents the convolution operation, l is the number of convolutional layers, and θ is (l) is the activation function of the lth convolutional layer; w (l) is the convolution kernel of the lth convolution layer; A×B is the receptive field size of the convolution kernel, and z is the sliding step size; is the bias term of the lth convolutional layer; C (i,t) The process interpretable contribution of the eigenvalue sample corresponding to the combination of the ith variable and the tth time step.

[0187] Embodiment eleven:

[0188] An electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method described in any of the above embodiments.

[0189] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0190] Application examples:

[0191] This example uses the temperature data of the national automatic station in Anhui Province, China to evaluate the prediction accuracy of the prediction method of the present invention.

[0192] 1) The study area and stations of this example are introduced. FIG3 (a) shows the distribution of 81 national automatic stations in Anhui Province in the present invention. The color code is the altitude of the station (unit: meter). The meteorological data includes temperature, air pressure, relative humidity, water vapor pressure, wet bulb temperature and wind speed. This example uses the data of four typical representative stations in Anhui Province (FIG3 (b)) from 00:00 on January 1, 2007 to 23:00 on December 31, 2016 to establish a temperature prediction model. Station No. 58118 (Mengcheng, Anhui) Geographic information: longitude 116.53, latitude 33.278. Station No. 58321 (Hefei, Anhui) Geographic information: longitude 117.3, latitude 31.78. Station No. 58112 (Tianzhu Mountain, Anhui) Geographic information: longitude 116.46, latitude 30.733. Station No. 58423 (Jiuhua Mountain, Anhui) Geographic information: longitude 117.78, latitude 30.483. The color scale indicates the altitude (unit: meter).

[0193] 2) The effect of the loss function of the model constructed by the present invention is analyzed. In this example, the mean absolute error (MAE), mean square error (MSE) and the modified Huber function in M-estimation (one of the loss functions used in the present invention) are used as the temperature prediction results of the loss function of the basic model. The accuracy of the model is evaluated by the root mean square error (unit: degrees Celsius) to predict the temperature in the next 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 18 and 24 hours with a lag time of 8 hours. Figure 4 The results of temperature prediction for different time periods at station 58321 based on different loss functions are given. Figure 4 It can be seen that the overall temperature prediction accuracy using the loss function of the present invention is higher than that of "MAE" and "MSE". The reason why some temperature prediction accuracies are close may be attributed to the selection of robust scaling constants in the loss function.

[0194] 3) Analysis of the effect of the prediction method of the present invention. On an hourly scale, the model proposed by the present invention is applied to the prediction of the temperature of a typical automatic station in Anhui Province, China. The accuracy of the temperature prediction by the baseline model (LSTM, BiLSTM), the basic model (GRU, BiGRU, CNN-LSTM, CNN-BiLSTM, CNN-GRU, CNN-BiGRU) and the deep ensemble learning is compared. Figure 5(a) to Figure 5(d) The station numbers 58112, 58118, 58321, and 58423 are given respectively, using standard deviation values ​​to measure the temperature accuracy of different models for different time periods. Figure 5(a) to Figure 5(d) It can be seen that compared with the temperature prediction accuracy of the baseline model and the basic model, the temperature prediction accuracy of the multi-model deep integrated learning in the present invention is the highest overall. Figure 6(a) to Figure 6(d) The scatter plots of the predicted and observed temperature values ​​of Hefei (station number 58321) by the model of the present invention are given. This example only shows the scatter plots of the predicted and observed temperature values ​​of the test set 1, 3, 6 and 12 hours. The color scale indicates the number of sample points. Figure 6(a) to Figure 6(d) As can be seen, the correlation coefficients between the 1, 3, 6, and 12 hour forecasts and observed values ​​are all over 0.97. These scatter plots also show a strong correlation between the observed and predicted values ​​of temperature.

[0195] 4) Analyze the process interpretable analysis steps in the present invention. In order to clearly reveal the impact or importance of different features on the temperature prediction results, this example selects the process interpretable analysis results of the SHAP deep interpreter with a lag time of 8 hours to predict the next 2 hours. Further analysis shows that the results of predicting 1 hour and 3 hours with a lag time of 8 hours are similar (Figure omitted). Different from the commonly used SHAP tree interpreter (Tree Explainer), Figure 7 The results of SHAP DeepExplainer are given to reveal the model mechanism of the deep model in predicting temperature. The test set samples are selected for global interpretation and the feature density scatter plots are drawn. Figure 7 . Figure 7 The horizontal axis is the SHAP value, and each row represents a feature.

[0196] Among them, TST represents the historical temperature value of the station to be predicted. Ri represents the temperature of the reference station i (i=1,2,…5). P represents air pressure. RH represents relative humidity. WVP represents water vapor pressure. WBT represents wet bulb temperature. WS represents wind speed. H represents time. t-1 represents a lag of 1 hour. t-2 represents a lag of 2 hours. The description of related variables is similar. . "SHAP value (impact on model output)" represents SHAP value (impact on model output). "Feature value" represents feature value. Low represents low value. High represents high value. "SHAP DeepExplainer" represents SHAP deep explainer. The color table represents the size of the value. Figure 7 It can be seen that for the DeepExplainer, the first feature "TST(t-1)" of station 58112 represents the temperature value of the target station before the predicted temperature time point. The feature "H(t-8)" represents the "time variable" of the first 8 times of the target station before the predicted temperature time point. This realizes the process interpretability of the temperature model. Other stations and variables can be analyzed similarly. Figure 7 It is revealed that the deep model uses more auxiliary information other than the temperature of the target station. The "reference station" and "time" in the features are also important.

[0197] 5) The short-term temperature intelligent prediction of the method of the present invention is applied to precipitation in some parts of China caused by low-level shear lines. From March 7 to March 10, 2016, the low-level shear line formed by the intersection of the cold air moving rapidly southward and the strong southerly warm and humid air currents triggered a strong convective weather process in some parts of China, resulting in short-term heavy precipitation and thunderstorms. From March 7 to 8, under the influence of the shear line, thunderstorms with wind speeds of 18-24m / s appeared in the southwest of Anhui Province. From March 8 to 9, thunderstorms with wind speeds of 18-24m / s appeared in the southwest of Anhui Province and southern Jiangsu Province. Specifically, from 20:00 on March 7 to 14:00 on March 10, short-term heavy precipitation occurred in southern Anhui Province and other places; from the afternoon to the first half of the night on the 8th, thunderstorms and winds occurred in southern Anhui Province, Shanghai and other places, with the maximum wind speed reaching level 9 (24m / s). Figure 8(a) to Figure 8(d) The time series of the predicted and observed values ​​of the temperature at Tianzhushan Station (station number 58112), Mengcheng Station (station number 58118), Hefei Station (station number 58321), and Jiuhuashan Station (station number 58423) in Anhui Province during this process are given. The time series of the 1-hour precipitation observed at the corresponding stations is also given.

[0198] Table 1 Analysis of temperature prediction accuracy at different stations and different prediction durations (correlation coefficient)

[0199]

[0200] Depend on Figure 8(a) to Figure 8(d) Combined with Table 1, it can be seen that the predicted and observed temperature values ​​at different stations are very consistent. In the selected research stations in this example, the temperature correlation coefficient exceeds 0.97.

[0201] 6) Further analysis of the process heatmap of the DeepExplainer model results for predicting the next 2 hours with a time lag of 8 hours. Fig. 9 As shown in the figure, this part analyzes the "process" of temperature prediction and can be explained. Among them, TST represents the historical temperature value of the station to be predicted. Ri represents the temperature of reference station i (i=1,2,…5). P represents air pressure. RH represents relative humidity. WVP represents water vapor pressure. WBT represents wet bulb temperature. WS represents wind speed. H represents time. "Sum of 87other features" represents other feature values ​​outside the figure. Instances represents instances. "SHAP value" represents SHAP value. t-1 represents a lag of 1 hour. t-2 represents a lag of 2 hours. The explanation of related variables is similar. The color table represents the size of the value.

[0202] Depend on Fig. 9 It can be seen that the more important characteristic variables in the temperature prediction process of different stations are consistent with the results of the characteristic density scatter plot. In the "process" analysis, the characteristic variables closer to the prediction time have a greater impact on the final result prediction. This analysis conclusion is the secondary training of the method of the present invention (adding the feature contribution rate convolution layer calculation of process interpretability), and also lays the foundation for adding "target adaptive observation variables" in the temperature prediction process in the later stage.

[0203] The above description is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a technician familiar with the technical field within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention.

Claims

1. A method for intelligent prediction of regional short-term temperature based on process-based interpretable analysis, wherein the region is provided with a target station and a reference station, characterized in that: include: Obtaining the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station; Based on the similarity between the temperature time series of the target station and the reference station, similar stations are screened in the reference station by considering the nonlinear relationship between the temperature time series and the data within the temperature time series; Based on the temperature time series of the selected similar stations and the temperature time series and auxiliary variable time series of the target station, the characteristic value samples are constructed with the set lag time; Based on the characteristic value samples, a pre-built regional temperature prediction model is initially trained, and based on the regional temperature prediction model that has been initially trained, an initial regional temperature prediction result is obtained; Performing process interpretable analysis on the initial regional temperature forecast results to obtain process interpretable contribution rates of different eigenvalue samples for measuring the importance of eigenvalue samples to temperature forecast; Based on the explained contribution rate of the process, the importance of the salient feature samples to the temperature prediction is updated for the regional temperature prediction model that has been initially trained; Based on the characteristic value samples, the updated regional temperature prediction model is trained for a second time, and based on the regional temperature prediction model completed by the second training, a secondary regional short-term temperature prediction result is obtained and used as the final regional short-term temperature intelligent prediction result.

2. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 1 is characterized in that: The auxiliary variables include air pressure, relative humidity, water vapor pressure, wet bulb temperature, wind speed and daily temperature variation time.

3. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 1 is characterized in that: The specific steps of obtaining the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station include: Acquire historical meteorological characteristic values ​​of the target station and historical temperature values ​​of the reference station, wherein the meteorological characteristics include temperature and auxiliary variables; The historical meteorological characteristic values ​​of the target station and the historical temperature values ​​of the reference station are respectively preprocessed including missing value interpolation processing and feature normalization processing, and sorted by timestamp to form the temperature time series and auxiliary variable time series of the target station and the temperature time series of the reference station; wherein, The specific method of the missing value interpolation process is: using the K-nearest neighbor algorithm for interpolation; The specific method of the feature normalization processing is: using the Max-Min normalization method to perform feature normalization processing on the historical meteorological feature values ​​and the historical temperature values. The specific processing formula is as follows: Where y is the historical meteorological characteristic value or historical temperature value after feature normalization; x is the original value of the historical meteorological characteristic value or historical temperature value; min is the minimum value of the original value of the historical meteorological characteristic value or the historical temperature value; x max It is the maximum value among the original values ​​of historical meteorological characteristic values ​​or historical temperature values.

4. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 1 is characterized in that: The specific method of screening similar stations in the reference station based on the similarity between the temperature time series of the target station and the reference station while considering the nonlinear relationship between the temperature time series and the temperature time series includes: The similarity between the temperature time series of the target station and the reference station is calculated, and several reference stations with the highest similarity to the target station are selected as similar stations; wherein the similarity calculation formula is as follows: Where p(x1) is the marginal distribution of the temperature time series x1 of the target station; p(y1) is the marginal distribution of the temperature time series y1 of the reference station; p(x1,y1) is the joint distribution of the temperature time series x1 of the target station and the temperature time series y1 of the reference station; I(x1;y1) is the similarity between the temperature time series x1 of the target station and the temperature time series y1 of the reference station, that is, the relative entropy of the joint distribution and marginal distribution between the temperature time series x1 of the target station and the temperature time series y1 of the reference station.

5. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 1 is characterized in that: The specific method of constructing the characteristic value sample with the set lag time based on the screened temperature time series of similar stations and the temperature time series and auxiliary variable time series of the target station includes: Set the lag time n that takes into account the prediction accuracy and task requirements; Based on the temperature time series of the selected similar stations, the temperature time series of the target station and the auxiliary variable time series, a sample with characteristic values ​​is constructed: Θ={X1,X2,...,X m-1 ,X m } X1={x1(hn),x1(h-n+1),...,x1(h)} X2={x2(hn),x2(h-n+1),...,x2(h)} ... X m-k ={x m-k (h-n),x m-k (h-n+1),...,x m-k (h)} X m-k+1 ={x m-k+1 (h-n),x m-k+1 (h-n+1),...,x m-k+1 (h)} ... X m ={x m (h-n),x m (h-n+1),...,x m (h)} Where Θ is the eigenvalue sample set; X1 is the first subset formed based on the temperature time series of the target station; X2~X m-k X is the 2nd to mkth subsets formed based on the auxiliary variable time series of the target station; m-k+1 ~X m are the m-k+1th to mth subsets formed based on the temperature time series of similar stations, and m is the number of variable dimensions of the eigenvalue sample; x1(hn), x1(h-n+1), ..., x1(h) are the eigenvalue samples of the temperature of the target station at the corresponding time hn, h-n+1, ​​..., h, respectively, and n is the number of lag time dimensions of the eigenvalue samples; x2(hn), x2(h-n+1), ..., x2(h) are the eigenvalue samples of the first auxiliary variable of the target station at the corresponding time hn, h-n+1, ​​..., h, respectively; x m-k (hn),x m-1 (h-n+1),...,x m-1 (h) are the characteristic value samples of the m-2th auxiliary variables of the target station corresponding to time hn, h-n+1, ​​..., h, and the total number of auxiliary variables is m-2; x m-k+1 (hn),x m-k+1 (h-n+1),...,x m-k+1 (h) are the characteristic value samples of the temperature of the first similar station corresponding to time hn, h-n+1, ​​..., h; x m (hn),x m (h-n+1),...,x m (h) are the characteristic value samples of the temperature at the k-1th similar station corresponding to time hn, h-n+1, ​​..., h, and the total number of similar stations is k-1; Then the relationship between the characteristic value sample and the actual temperature is: Where y(h+k) is the actual temperature value at the prediction time h+k; f(*) is the relationship model between the eigenvalue sample and the actual temperature; ε is the error.

6. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 1 is characterized in that: The temperature prediction model adopts a nonlinear convex programming with constraints and integrated deep basic model; The objective function of the temperature prediction model is: Where Z is the difference between the predicted temperature and the actual temperature; α is the α-norm; w j is the integration weight of the deep base model j to the minimization function, j∈[1,k], k is the total number of deep base models; y i is the actual value of the temperature of the value i to be predicted; is the temperature prediction value of deep basic model j for the predicted value i, and n is the total number of values ​​to be predicted; λ is the regularization parameter, which is used to balance the two objective terms of the minimization function; w j The norm of ; The constraints of the temperature prediction model are: The loss function of the basic model in the temperature prediction model is: Where ρ(r) is the loss function value corresponding to the basic model error r; r is the difference between the temperature prediction value of the basic model and the actual temperature value, that is, the basic model error; c is the robust scaling constant.

7. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 6 is characterized in that: The deep basic models integrated in the temperature prediction model include gated recurrent units, bidirectional gated recurrent unit convolutional neural networks, long short-term memory networks, convolutional neural networks coupled with long short-term memory networks, convolutional neural networks coupled with bidirectional long short-term memory networks, convolutional neural networks coupled with gated recurrent units, and convolutional neural networks coupled with bidirectional gated recurrent units.

8. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 6 is characterized in that: The temperature prediction model uses the standard deviation index SD, the root mean square error index RMSE and the correlation coefficient index CC to evaluate the prediction accuracy of the model. The expressions of the standard deviation index SD, the root mean square error index RMSE and the correlation coefficient index CC are as follows: In the formula, x i is the difference between the predicted temperature value and the actual temperature value of the predicted value i; i is the actual value of the temperature of the value i to be predicted; is the mean of the actual temperature value; P i is the predicted value of the temperature of the predicted value i; μ is the mean of the difference between the predicted value of the temperature of the predicted value i and the actual value of the temperature, n is the number of values ​​to be predicted.

9. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 1 is characterized in that: The specific method of performing process interpretable analysis on the initial regional temperature prediction result to obtain process interpretable contribution rates of different eigenvalue samples for measuring the importance of eigenvalue samples to temperature prediction is: Based on the relationship between the meteorological characteristics and the lag time in the characteristic value samples, a set Δ of variable and time step combinations is formed, Δ={(i,t):1≤i≤M,1≤t≤N} Where (i, t) is the combination of the i-th variable and the t-th time step; M is the total number of variables, corresponding to the number of variable dimensions in the eigenvalue sample; N is the total number of time steps, corresponding to the number of lag time dimensions in the eigenvalue sample; Calculate the ProcessSHAP value for different combinations of variables and time steps. The ProcessSHAP value P for the combination of the i-th variable and the t-th time step is (i,t) , In the formula, is the characteristic function, which means that when the input X * The prediction output when there are only variable time pairs in the set S; Δ i is the set of all time steps of variable i; set S is a subset of all features; x S is a subvector of x, representing the features in the set S; f(·) represents the prediction model; x represents the input of the prediction model; For different combinations of variables and time steps, the sum of the ProcessSHAP values ​​f(x * ), Where P 0,0 It is the feature function output when all features do not exist; The sum of the feature function outputs for all combined feature sets; The ProcessSHAP values ​​under different combinations of variables and time steps are normalized to obtain the process explainable contribution rate of different combinations of variables and time steps. For the process explainable contribution rate C of the combination of the i-th variable and the t-th time step, (i,t) The calculation formula is as follows: The process based on the combination of variables and time steps can explain the contribution rate, and the process of obtaining different eigenvalue samples to measure the importance of eigenvalue samples to temperature prediction can explain the contribution rate.

10. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 9 is characterized in that: The specific steps of updating the importance of the salient feature samples to the temperature prediction of the regional temperature prediction model that has been initially trained based on the process-interpretable contribution rate include: The process explainable contribution rate is coupled as a weight to the convolution kernel of the first convolution layer in the regional temperature prediction model that has been initially trained, thereby updating the importance of the salient feature samples to the temperature prediction. The coupled convolution layer is calculated as follows: Where x is the xth row in the data matrix, y is the yth column in the data matrix, the operator * represents the convolution operation, l is the number of convolutional layers, and θ is (l) is the activation function of the lth convolutional layer; w (l) is the convolution kernel of the lth convolution layer; A×B is the receptive field size of the convolution kernel, and z is the sliding step size; is the bias term of the lth convolutional layer; C (i,t) The process interpretable contribution of the eigenvalue sample corresponding to the combination of the ith variable and the tth time step.

11. The method for intelligent prediction of regional short-term temperature based on process interpretable analysis according to claim 9 is characterized in that: In the secondary training, the model parameters of all convolutional layers are fixed, and only the model parameters of one fully connected layer are adjusted.

Citation Information

Patent Citations

  • Power system inertia short-term prediction method based on SHAP-XGBoost algorithm

    CN115759380A

  • Wind power prediction method based on correlation characteristics of numerical weather forecast of multiple correlation days

    CN116742613A

  • Building area energy system cooling and heating load data driving prediction method with flexibility and interpretability

    CN117114438A

  • Short-term photovoltaic power generation power prediction method, system and equipment based on similar weather discovery and medium

    CN118213987A

  • Air temperature prediction correction device

    JP2006242747A