A sea surface wind speed prediction algorithm and system based on symbolic dynamic analysis
Through technical means such as symbolic dynamic analysis and one-dimensional convolutional neural network, the problem of difficulty in setting the time window size of historical sea surface wind speed data is solved, efficient and accurate sea surface wind speed prediction is achieved, and the efficiency and adaptability of the algorithm are improved.
Patent Information
- Application Number
- CN202410992760.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-24
AI Technical Summary
In the existing technology, the time window size setting of historical sea surface wind speed data relies on empirical rules or iterative adjustments, resulting in low algorithm efficiency and the inability to guarantee the optimal window size, making it impossible to predict sea surface wind speed efficiently and accurately.
Symbolic dynamic analysis is used to quantify the time series dynamic characteristics of historical sea surface wind speed data. Through the Hample filter of sliding window size and the residual learning structure of one-dimensional convolution, combined with the channel attention algorithm and Kolmogorov-Arnold network, Wind speed feature vectors are generated and input into the sLSTM network for prediction.
The time window size is effectively determined, the accuracy and robustness of sea surface wind speed prediction are improved, the trial and error process in traditional methods is avoided, the algorithm efficiency and adaptability are improved, and the learning ability of time series data is enhanced.
Smart Images

Figure CN118536407B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wind speed prediction, and more specifically, to a sea surface wind speed prediction algorithm and system based on symbolic dynamic analysis. Background Art
[0002] Sea surface wind speed forecast refers to the technology of predicting and estimating the wind speed on the ocean surface. Accurate sea surface wind speed forecast is of great significance for maritime navigation, marine resource development, meteorological disaster warning and other aspects. The commonly used method for sea surface wind speed forecast is to predict future sea surface wind speed by establishing a statistical model based on historical observation data and statistical analysis, and to associate past observation data with other relevant factors to establish a forecast model, which is suitable for long-term forecast and trend analysis. However, the historical data of sea surface wind speed is complex and is affected by seasonal changes, climate change, circulation changes or other atmospheric and ocean interactions. It also includes some emergencies, such as typhoons, hurricanes or severe storms, which poses a challenge to the establishment of a statistical model to predict future sea surface wind speed.
[0003] In the prior art, in order to fully consider the impact of various factors on the historical data of sea surface wind speed, a time window is usually set to sample multiple adjacent data points as a data group during the data extraction process, such as:
[0004] (1) Chinese invention patent with publication number CN118211494A, a method and system for constructing a wind speed prediction hybrid model based on a correlation matrix. The patent proposes sampling the time series wind speed data through a sliding time window to obtain sub-data groups, and constructing a wind speed correlation matrix with the sub-data groups. In the patent, the size of the sliding time window is set to 24.
[0005] (2) The Chinese invention patent with publication number CN113391287A is a method for fusion of high-frequency ground wave radar sea state data based on time series. The patent proposes to slide the time window with a certain length m according to the actual situation, perform sea state inversion processing on the echo to be measured, and obtain the fused data.
[0006] However, the prior art does not provide a method for determining the size of the time window. Usually, the window size is set based on empirical rules or iterative adjustment. The iterative adjustment method involves trying multiple window sizes and determining the optimal window size by evaluating the filtering effect. This trial and error method is not only time-consuming, but also cannot guarantee the efficiency of the algorithm. Summary of the invention
[0007] To solve the above problems, the technical solution adopted in this application is a sea surface wind speed prediction algorithm based on symbolic dynamic analysis, which includes the following steps:
[0008] S1: Quantify the dynamic characteristics of the time series of historical sea surface wind speed data at different time lags through symbolic dynamic analysis to obtain the sliding window size;
[0009] S2: preprocessing the historical data of sea surface wind speed by using a Hample filter based on the sliding window size to obtain preprocessed data;
[0010] S3: The preprocessed data is processed by the residual learning structure of one-dimensional convolution to obtain the wind speed feature vector, the wind speed feature vector is used to obtain the weighted wind speed feature vector through the channel attention algorithm, and the weighted wind speed feature vector is abstracted and integrated through the Kolmogorov-Arnold network to obtain the extracted wind speed feature vector;
[0011] S4: Input the extracted wind speed feature vector into the sLSTM network to obtain the wind speed prediction value.
[0012] Preferably, the symbol dynamic analysis includes symbolizing the time series of sea surface wind speed historical data into a symbol sequence, and then calculating the frequency of the joint symbol pairs corresponding to each lag value, calculating the symbol entropy based on the frequency of the joint symbol pairs and the number of symbol types in the symbolization process, and taking the lag value corresponding to the maximum value of the symbol entropy as the sliding window size.
[0013] Preferably, the pretreatment comprises the following steps:
[0014] S2-1: Extract historical sea surface wind speed data based on sliding window size;
[0015] S2-2: For each data point X t , calculate the median within the window to get the local median M t , calculate the data in the window and the local median M t The median of the absolute deviations is the local standard deviation S t ;
[0016] S2-3: For each time point t, calculate its data point X t and the local median M t The deviation and the local standard deviation S t For comparison, if the deviation exceeds twice the local standard deviation, the data point is considered an outlier;
[0017] S2-4: Adjust the outliers by the following formula to get the filtered data point Y t :
[0018] .
[0019] Preferably, the y-th element Y[y] of the one-dimensional convolution output feature map is calculated by the following formula:
[0020] ;
[0021] Where X is the input sequence, K is the convolution kernel, X[n] is the value of the input sequence X at position n; K[yn] is the value of the convolution kernel K at position yn, N is the length of the input sequence, and y is the index of the output feature map Y.
[0022] Preferably, the residual block in the residual learning structure is composed of multiple cascaded convolutional layers and a skip connection, the cascaded convolutional layer includes a one-dimensional convolutional layer and a Swish activation function arranged after the one-dimensional convolutional layer, and the skip connection is used to transfer the input X to the output. The final output O(x) of the residual learning structure is:
[0023] O(x) = F(x) + X;
[0024] Where F(x) is the information increment learned by the cascaded convolutional layer.
[0025] Preferably, the channel attention algorithm includes applying global average pooling and global maximum pooling to the feature map corresponding to each convolution kernel to obtain the global spatial information corresponding to each convolution kernel, performing feature fusion on the results of global average pooling and global maximum pooling through a shared multi-layer perceptron (MLP) to generate channel weights, applying the channel weights to the original feature map, and generating a weighted wind speed feature vector.
[0026] Preferably, the Kolmogorov-Arnold network includes linearly transforming the weighted wind speed feature vector through a weight matrix and a bias vector to obtain an intermediate representation vector Z'', and then applying a learnable univariate function i The intermediate representation vector is transformed nonlinearly, and the extracted wind speed feature vector Y is expressed as:
[0027] ;
[0028] In the formula, (·) represents the set of learnable activation functions applied to Z'', n is the output dimension, z n '' is the nth element in Z''.
[0029] Preferably, the sLSTM network includes a plurality of memory units, each of which includes a cell state, a hidden state, an input gate, a forget gate, and an output gate.
[0030] Preferably, the sLSTM network comprises the following steps:
[0031] S4-1: sLSTM network initialization;
[0032] S4-2: Cell status update;
[0033] S4-3: Normalized state update;
[0034] S4-4: hidden state update;
[0035] S4-5: Exponential activation of gating mechanisms;
[0036] S4-6: Output wind speed prediction value.
[0037] The present application also provides a sea surface wind speed prediction system based on symbolic dynamic analysis, comprising:
[0038] Data preprocessing module: quantify the dynamic characteristics of the time series of historical sea surface wind speed data at different time lags through symbolic dynamic analysis to obtain the sliding window size; preprocess the historical sea surface wind speed data through the Hample filter based on the sliding window size to obtain preprocessed data;
[0039] Feature extraction network module: used to process the preprocessed data through the residual learning structure of one-dimensional convolution to obtain the wind speed feature vector, the wind speed feature vector is used to obtain the weighted wind speed feature vector through the channel attention algorithm, and the weighted wind speed feature vector is abstracted and integrated through the Kolmogorov-Arnold network to obtain the extracted wind speed feature vector;
[0040] Wind speed prediction module: used to extract the wind speed feature vector and input it into the sLSTM network to obtain the wind speed prediction value.
[0041] The beneficial effects of the present invention are:
[0042] (1) Symbolic dynamic analysis is used to quantify the dynamic characteristics of the time series at different time lags. Specifically, the algorithm first symbolizes the wind speed series and calculates its own symbolic entropy after several time points. When the symbolic entropy is found to change significantly, it indicates that the dynamic characteristics of the time series have changed. In this case, the number of time points corresponding to the time lag is selected as the ideal size of the sliding window. This provides an efficient time window size selection method, avoids the trial and error process in traditional methods, improves the efficiency and adaptability of the algorithm, and does not need to determine the size of the time window based on experience in different fields when changing the research object.
[0043] (2) The one-dimensional convolutional neural network is combined with the residual mechanism and the channel attention mechanism to achieve efficient extraction of wind speed features. Through this structure, not only the model's learning ability for time series data is enhanced, but also the accuracy and robustness of wind speed prediction are significantly improved. Specifically, the sea surface wind speed prediction algorithm model provided in this application utilizes the powerful local feature extraction ability of the one-dimensional convolutional neural network to perform a preliminary analysis of the wind speed data and capture key time-dependent information. Subsequently, the residual connection is introduced to allow the network to skip some calculation steps between different layers and directly transfer information, which helps to solve the gradient vanishing problem in deep network training and promotes the optimization of deep network structure. Finally, through the channel attention mechanism, higher weights are given to important features, allowing them to play a greater role in the prediction process.
[0044] (3) After obtaining the extracted wind speed feature vector, it is used as the input of the network sLSTM to predict the sea surface wind speed. As a variant of the long short-term memory network, sLSTM can more accurately capture the dynamic changes in the wind speed time series and improve the prediction accuracy by introducing exponential gating and normalization states. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art.
[0046] Figure 1 This is a simplified flow chart of the sea surface wind speed prediction system based on symbolic dynamic analysis in this application;
[0047] Figure 2 This is a graph showing the change of symbol entropy with hysteresis in Example 1 of the present application;
[0048] Figure 3 This is a comparison chart of the data before and after Hample filtering for this application;
[0049] Figure 4 This is a schematic diagram of feature extraction using a one-dimensional convolutional neural network for this application;
[0050] Figure 5 This is the residual module structure diagram of this application;
[0051] Figure 6 sLSTM flow chart for this application;
[0052] Figure 7 This is a comparison chart of the one-step (1 hour) forecast result and the actual wind speed for this application;
[0053] Figure 8 This is a comparison chart of the two-step (2-hour) forecast results and the actual wind speed for this application. DETAILED DESCRIPTION
[0054] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] Example 1
[0056] S1: Quantify the dynamic characteristics of the time series of historical sea surface wind speed data at different time lags through symbolic dynamic analysis to obtain the size of the sliding window;
[0057] The determination of the size of the data time window of the traditional sea surface wind speed prediction algorithm usually relies on empirical rules or iterative adjustments. This method involves trying multiple window sizes and determining the optimal window size by evaluating the filtering effect. This trial and error method is not only time-consuming, but also cannot guarantee the efficiency of the algorithm.
[0058] To solve this problem, this study proposes a window selection algorithm specifically designed for time series data. The core of the algorithm is to use symbolic dynamic analysis to quantify the dynamic characteristics of the time series at different time lags. Specifically, the algorithm first symbolizes the wind speed series and calculates its own symbolic entropy after several time points. When the symbolic entropy is found to change significantly, it indicates that the dynamic characteristics of the time series have changed. In this case, the number of time points corresponding to the time lag is selected as the ideal size of the sliding window. The symbolic dynamic analysis method is described as follows:
[0059] First, the wind speed time series Symbolize as a sequence of symbols , and then calculate the symbolic entropy at different lags d . Symbolic Entropy The calculation is as follows:
[0060] For each lag d, calculate the symbol S at time t t (The corresponding symbol is represented by i) and the symbol S corresponding to the lag d t+d (The corresponding symbol is represented by j) t ,S t+d ) frequency P i,j (d)
[0061] ;
[0062] in, is the number of times the symbol pair (i, j) appears at lag d, and N is the sequence length.
[0063] ;
[0064] Among them, B is the number of symbol types in the symbolization process.
[0065] Then find the maximum value corresponding to the symbol entropy The corresponding lag value d is used as the ideal size of the sliding window. Figure 2 As shown, Figure 2 This is a graph showing the change of symbolic entropy with lag, where the horizontal axis “number of lags” is the lag value d.
[0066] S2: preprocessing the historical data of sea surface wind speed by using a Hample filter based on the sliding window size to obtain preprocessed data;
[0067] S2-1: extracting historical sea surface wind speed data based on the size of the sliding window obtained in step S1;
[0068] S2-2: For each data point X t , calculate the median within the window to get the local median M t , calculate the data in the window and the local median M t The median of the absolute deviations of t ;
[0069] For each data point X t , calculate the median M within its window t .
[0070] Calculate the median of the absolute deviations of the data in the window from the local median, that is, the local standard deviation s t .
[0071] ;
[0072] S2-3: For each time point t, calculate its data point X t and the local median M t The deviation and the local standard deviation S t For comparison, if the deviation exceeds twice the local standard deviation, the data point is considered an outlier;
[0073] .
[0074] S2-4: Adjust the outliers by the following formula to get the filtered data point Y t :
[0075] ;
[0076] Among them, Y t is the data point after filtering.
[0077] The comparison chart before and after filtering is as follows Figure 3shown.
[0078] S3: The preprocessed data is processed through the residual learning structure of one-dimensional convolution to obtain the wind speed feature vector, and the wind speed feature vector is used to obtain the weighted wind speed feature vector through the channel attention algorithm. The weighted wind speed feature vector is abstracted and integrated through the Kolmogorov-Arnold network to obtain the extracted wind speed feature vector.
[0079] This application combines a one-dimensional convolutional neural network with a residual mechanism and a channel attention mechanism to achieve efficient extraction of wind speed features. Through this structure, not only the model's learning ability for time series data is enhanced, but also the accuracy and robustness of wind speed prediction are significantly improved. Specifically, the algorithm provided in this application uses the powerful local feature extraction capability of a one-dimensional convolutional neural network to perform a preliminary analysis of wind speed data and capture key time-dependent information. Then, residual connections are introduced to allow the network to skip certain convolutional layers, retain shallow features and deep features at the same time, and directly transfer information, which helps solve the gradient vanishing problem in deep network training and promotes the optimization of deep network structures. Finally, through the channel attention mechanism, higher weights are given to important features, allowing them to play a greater role in the prediction process.
[0080] The one-dimensional convolutional neural network extracts local features from the data through the convolution layer. Suppose there is an input sequence X with a length of N, a convolution kernel W with a length of F and a step size of S. The yth element Y[y] of the output feature map can be calculated by the following formula:
[0081] ;
[0082] In the formula, X is the input sequence, K is the convolution kernel, X[n] is the value of the input sequence X at position n; K[yn] is the value of the convolution kernel K at position yn, N is the length of the input sequence, and y is the index of the output feature map. The specific steps are as follows: Figure 4 shown.
[0083] To avoid degradation during feature extraction, we introduce a residual learning structure. The residual block consists of multiple cascaded convolutional layers and a skip connection. After accumulating their outputs, the output of the residual block is obtained through the Swish activation function. Figure 5 As shown. The input signal is X (i.e., preprocessed data), F(x) is the residual map, which represents the information increment learned by the cascade convolution layer. The cascade convolution layer includes a one-dimensional convolution layer and a Swish activation function set after the one-dimensional convolution layer. The jump connection is used to transfer the input X to the output. O(x) is the output of the residual structure, expressed as.
[0084] In the residual network, the input X is directly short-circuited to the output of the network. At this point, the network will no longer directly learn the optimal mapping function, but learn its residual, as shown below:
[0085] ;
[0086] In the feature extraction part, the present application uses a residual learning framework to solve the degradation problem in deep network training. If the network tends to be optimal, the performance can be maintained or improved by continuing to deepen the network structure. Specifically, the design of the residual block allows the input X to directly skip the calculation of some layers and combine it with the output O(x) by adding an identity mapping F(x). If F(x) becomes 0, that is, F(x)=0, the output O(x) of the residual block will be equal to the input X, which theoretically guarantees that the performance of the network will not decrease even if the network depth increases. If F(x) is not 0, but very close to 0, that is, F(x)≈0, O(x) will be approximate to the actual mapping X, which means that the network can learn useful features beyond the identity mapping. In this way, the residual network solves the problem of gradient vanishing or gradient exploding caused by layer stacking in traditional deep networks, allowing gradients to propagate effectively in the network, so that the network can be trained deeper while maintaining or improving performance.
[0087] Furthermore, the channel attention algorithm includes applying global average pooling and global maximum pooling to the feature map corresponding to each convolution kernel to obtain the global spatial information corresponding to each convolution kernel, and fusing the results of global average pooling and global maximum pooling through a shared multi-layer perceptron (MLP) to generate channel weights, which are applied to the original feature map to generate a weighted wind speed feature vector.
[0088] After processing with the residual learning structure of one-dimensional convolution, we obtained a 128 wind speed feature vector. The importance of these feature vectors varies. Some are crucial to the prediction of wind speed, while others are of little use or even redundant features. Therefore, the channel attention algorithm is added so that the model adaptively selects the most useful features for the current task, thereby improving the expressiveness of the features. Through the attention mechanism, unnecessary computation in the network can be reduced, because unimportant channels can be given smaller weights, thereby being ignored or reducing their impact in subsequent layers. In this embodiment, the channel attention algorithm is implemented by the following steps:
[0089] ① Global average pooling and global maximum pooling: Apply global average pooling and global maximum pooling to the feature map of each convolution kernel to obtain the global spatial information corresponding to each convolution kernel:
[0090] ;
[0091] .
[0092] In the formula, is the global average value corresponding to the cth convolution kernel, is the global maximum value corresponding to the cth convolution kernel, Z c,i It is the i-th element of the pooled feature sequence Z corresponding to the c-th convolution kernel.
[0093] ② Feature fusion: The results of global average pooling and global maximum pooling are fused through a shared multi-layer perceptron (MLP) to generate channel weights :
[0094] ;
[0095] in is the Sigmod activation function, which limits the channel weight to within the range.
[0096] ③Weight recalibration: Apply the channel weights to the original feature map to generate a weighted wind speed feature vector :
[0097] Z ;
[0098] Where ⊙ represents channel-by-channel multiplication.
[0099] Through the above steps, the channel attention mechanism can effectively enhance important features and suppress irrelevant or redundant information, thereby improving the feature extraction ability and overall performance of the prediction model.
[0100] Furthermore, the Kolmogorov-Arnold network includes linearly transforming the weighted wind speed feature vector through a weight matrix and a bias vector to obtain an intermediate representation vector Z'', and then applying a learnable univariate function i The intermediate representation vector is transformed nonlinearly, and the extracted wind speed feature vector Y is expressed as:
[0101] ;
[0102] In the formula, (·) represents the set of learnable activation functions applied to Z'', n is the output dimension, z n '' is the nth element in Z''.
[0103] After obtaining the channel-weighted feature vector, we input it into the fully connected layer. This patent replaces the traditional fully connected layer with KAN (Kolmogorov–Arnold Networks) to enhance the model's expressiveness and generalization performance. Specifically, KAN uses a learnable function to replace the traditional fixed activation function, thereby providing the model with greater flexibility and adaptability.
[0104] In the traditional fully connected layer, the feature vector is passed through the weight matrix w ƒ and the bias vector b ƒ The linear transformation is then transformed through a fixed nonlinear activation function. However, this method has certain limitations because it cannot adaptively adjust the activation function to better capture the complexity of the data. In contrast, KAN introduces a learnable activation function , which enables the network to automatically adjust the shape and parameters of the activation function during training to more accurately approximate the target function.
[0105] Specifically, the input vector Z' of KAN (i.e., the weighted wind speed feature vector) is firstly transformed into the weight matrix w ƒ and the bias vector b ƒ Perform a linear transformation to obtain the intermediate representation vector Z'':
[0106] .
[0107] Each neuron in the KAN then applies a learnable univariate function i , these functions are usually parameterized in the form of B-splines to achieve nonlinear transformation of the input. Finally, the output Y of KAN (i.e., the extracted wind speed feature vector) can be expressed as:
[0108] .
[0109] in, (·) represents the set of learnable activation functions applied to Z'', n is the output dimension, z n '' is the nth element in Z''.
[0110] S4: Input the extracted wind speed feature vector into the sLSTM (Scalar Long Short-Term Memory) network to obtain the wind speed prediction value.
[0111] After obtaining the extracted wind speed feature vector Y, we use it as the input of the network sLSTM to predict the sea surface wind speed. Traditional long short-term memory networks are widely used in time series prediction, but they have limitations such as inability to correct stored information, limited storage capacity, and lack of parallel processing capabilities. In order to overcome these limitations, the present invention adopts sLSTM, which can more accurately capture the dynamic changes in the wind speed time series and improve the prediction accuracy by introducing exponential gating and normalization states. The sLSTM flow chart is shown in the figure. Figure 6 shown.
[0112] The specific process is as follows:
[0113] S4-1: sLSTM network initialization;
[0114] The extracted wind speed feature vector Y is input into the sLSTM network. The sLSTM network consists of multiple memory cells, each of which contains a cell state c t , hidden state h t , input gate i t 、Forget gate t and output gate O t .
[0115] S4-2: Cell status update;
[0116] At each time step t, the sLSTM network updates the cell state c t , using the following formula:
[0117] .
[0118] Among them, ⊙ represents element-wise multiplication, ƒ t is the output of the forget gate, c t-1 is the cell state at the previous time step, i t is the output of the input gate, z t is the input value modulated by the input gate.
[0119] S4-3: Normalized state update;
[0120] sLSTM introduces normalized state n t To enhance numerical stability, the formula is as follows. Normalized state n t Ensures numerical balance during cell state update.
[0121] .
[0122] S4-4: hidden state update;
[0123] Hidden state h t It reflects the output of the sLSTM network at the current time step. The formula is:
[0124]
[0125] Among them, o t is the output of the output gate, c t is the cell state at the current time step, n t is the normalized state.
[0126] S4-5: Exponential activation of gating mechanisms;
[0127] The input gate and forget gate of sLSTM use exponential activation function, the formula is as follows:
[0128] ;
[0129] ;
[0130] in, and is the input gate weight and bias; and is the input gate weight and bias; and Corresponding to the hidden state And the recursive weights between the input gate and the forget gate.
[0131] S4-6: Output wind speed prediction value.
[0132] The final output o(t) of the sLSTM network is used as the wind speed prediction value, which reflects the future wind speed change trend based on the current feature vector.
[0133] .
[0134] Among them, W o and b o is the output gate weight and bias; R o Hidden state and the recursive weight between the single output gate.
[0135] Comparison of prediction results:
[0136] In order to verify the effectiveness of the method proposed in this patent, the sea surface wind field was inverted using marine meteorological data collected by a satellite, and compared with the classic algorithms LSTM (Long Short-Term Memory), convolutional neural network, BiLSTM (Bi-directional Long Short-Term Memory) and EMD-LSTM (Empirical Mode Decomposition-Long Short-Term Memory).
[0137] In order to comprehensively evaluate the performance of the proposed hybrid wind speed prediction model based on correlation matrix and demonstrate its advantages over existing prediction methods, the mean absolute error (MAE), root mean square error (RMSE) and mean absolute percentage error (MAPE) are used to comprehensively evaluate the prediction performance of the proposed model. The determination coefficient R2 is used to measure the goodness of fit of the predicted value to the measured value. These indicators can objectively quantify the difference between the model prediction value and the actual observation value.
[0138] ;
[0139] ;
[0140] .
[0141] In the formula, is the predicted value; is the measured value; is the sample mean; is the sample size.
[0142] This experiment selects the method of letting the network output the predicted value for the next two hours at a time. The comparison of the prediction accuracy for one hour and two hours is shown in Table 1-Table 2:
[0143] Table 1 Comparison of the calculation accuracy of the algorithm provided by this application and the classic algorithm (1 hour)
[0144]
[0145] Table 2 Comparison of the calculation accuracy of the algorithm provided by this application and the classic algorithm (2 hours)
[0146]
[0147] The results of the calculation accuracy comparison between the algorithm provided by this application and the classical algorithm show that this model has obvious advantages in calculation accuracy, but it also brings the problem of increased calculation time. In some high-precision applications, the calculation time can be shortened by improving the computer configuration.
[0148] The comparison between the predicted value and the true value of the proposed algorithm is as follows: Figure 7 and Figure 8 shown.
[0149] Example 2
[0150] like Figure 1 As shown, the present application also provides a sea surface wind speed prediction system based on symbolic dynamic analysis, comprising:
[0151] Data preprocessing module: quantify the dynamic characteristics of the time series of historical sea surface wind speed data at different time lags through symbolic dynamic analysis to obtain the sliding window size; preprocess the historical sea surface wind speed data through the Hample filter based on the sliding window size to obtain preprocessed data;
[0152] Feature extraction network module: used to process the preprocessed data through the residual learning structure of one-dimensional convolution to obtain the wind speed feature vector, the wind speed feature vector is used to obtain the weighted wind speed feature vector through the channel attention algorithm, and the weighted wind speed feature vector is abstracted and integrated through the Kolmogorov-Arnold network to obtain the extracted wind speed feature vector;
[0153] Wind speed prediction module: used to extract the wind speed feature vector and input it into the sLSTM network to obtain the wind speed prediction value.
[0154] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A sea surface wind speed prediction algorithm based on symbolic dynamic analysis, characterized in that: The following steps are involved: S1: Quantify the dynamic characteristics of the time series of historical sea surface wind speed data at different time lags through symbolic dynamic analysis to obtain the sliding window size; S2: preprocessing the sea surface wind speed historical data by using a Hample filter based on the sliding window size to obtain preprocessed data; S3: Processing the preprocessed data through a residual learning structure of a one-dimensional convolution to obtain a wind speed feature vector, obtaining a weighted wind speed feature vector through a channel attention algorithm, and abstracting and integrating the weighted wind speed feature vector through a Kolmogorov-Arnold network to obtain an extracted wind speed feature vector; S4: Inputting the extracted wind speed feature vector into the sLSTM network to obtain a wind speed prediction value; The symbol dynamic analysis includes symbolizing the time series of the sea surface wind speed historical data into a symbol sequence, and then calculating the frequency of the joint symbol pair corresponding to each lag value, calculating the symbol entropy according to the frequency of the joint symbol pair and the number of symbol types in the symbolization process, and taking the lag value corresponding to the maximum value of the symbol entropy as the sliding window size; The sLSTM network includes a plurality of memory units, each of which includes a cell state, a hidden state, an input gate, a forget gate, and an output gate; The sLSTM network includes the following steps: S4-1: sLSTM network initialization; S4-2: Cell status update; S4-3: Normalized state update; S4-4: hidden state update; S4-5: Exponential activation of gating mechanisms; S4-6: Output wind speed prediction value.
2. The sea surface wind speed prediction algorithm based on symbolic dynamic analysis according to claim 1, characterized in that: The pre-processing comprises the following steps: S2-1: extracting historical sea surface wind speed data based on the sliding window size; S2-2: For each data point X t , calculate the median in the window to get the local median M t , calculate the data in the window and the local median M t The median of the absolute deviations of t ; S2-3: For each time point t, calculate its data point X t and the local median M t The deviation and the local standard deviation s t For comparison, if the deviation exceeds twice the local standard deviation, the data point is considered an outlier; S2-4: Adjust the outliers by the following formula to get the filtered data point Y t : 。 3. The sea surface wind speed prediction algorithm based on symbolic dynamic analysis according to claim 1, characterized in that: The y-th element Y[y] of the one-dimensional convolution output feature map is calculated by the following formula: ; Where X is the input sequence, K is the convolution kernel, X[n] is the value of the input sequence X at position n; K[yn] is the value of the convolution kernel K at position yn, N is the length of the input sequence, and y is the index of the output feature map Y.
4. The sea surface wind speed prediction algorithm based on symbolic dynamic analysis as claimed in claim 3, characterized in that: The residual block in the residual learning structure consists of multiple cascaded convolutional layers and a jump connection. The cascaded convolutional layer includes a one-dimensional convolutional layer and a Swish activation function arranged after the one-dimensional convolutional layer. The jump connection is used to transfer the input X to the output. The final output O(x) of the residual learning structure is: O(x) = F(x) + X; Where F(x) is the information increment learned by the cascaded convolutional layer.
5. The sea surface wind speed prediction algorithm based on symbolic dynamic analysis according to claim 4, characterized in that: The channel attention algorithm includes applying global average pooling and global maximum pooling to the feature map corresponding to each convolution kernel to obtain the global spatial information corresponding to each convolution kernel, performing feature fusion on the results of global average pooling and global maximum pooling through a shared multi-layer perceptron (MLP) to generate channel weights, and applying the channel weights to the original feature map to generate a weighted wind speed feature vector.
6. The sea surface wind speed prediction algorithm based on symbolic dynamic analysis according to claim 4, characterized in that: The Kolmogorov-Arnold network includes linearly transforming the weighted wind speed feature vector through a weight matrix and a bias vector to obtain an intermediate representation vector Z'', and then applying a learnable univariate function Φ i The intermediate representation vector is transformed nonlinearly, and the extracted wind speed feature vector Y is expressed as: ; In the formula, (·) represents the set of learnable activation functions applied to Z'', n is the output dimension, z n '' is the nth element in Z''.
7. A sea surface wind speed prediction system based on symbolic dynamic analysis, characterized in that: include: Data preprocessing module: quantifying the dynamic characteristics of the time series of the historical sea surface wind speed data at different time lags through symbolic dynamic analysis to obtain a sliding window size; preprocessing the historical sea surface wind speed data through a Hample filter based on the sliding window size to obtain preprocessed data; Feature extraction network module: used for processing the preprocessed data through a one-dimensional convolution residual learning structure to obtain a wind speed feature vector, obtaining a weighted wind speed feature vector from the wind speed feature vector through a channel attention algorithm, and abstracting and integrating the weighted wind speed feature vector through a Kolmogorov-Arnold network to obtain an extracted wind speed feature vector; Wind speed prediction module: used to input the extracted wind speed feature vector into the sLSTM network to obtain a wind speed prediction value; The symbol dynamic analysis includes symbolizing the time series of the sea surface wind speed historical data into a symbol sequence, and then calculating the frequency of the joint symbol pair corresponding to each lag value, calculating the symbol entropy according to the frequency of the joint symbol pair and the number of symbol types in the symbolization process, and taking the lag value corresponding to the maximum value of the symbol entropy as the sliding window size; The sLSTM network includes a plurality of memory units, each of which includes a cell state, a hidden state, an input gate, a forget gate, and an output gate; The sLSTM network includes the following steps: S4-1: sLSTM network initialization; S4-2: Cell status update; S4-3: Normalized state update; S4-4: hidden state update; S4-5: Exponential activation of gating mechanisms; S4-6: Output wind speed prediction value.
Citation Information
Patent Citations
High-frequency ground wave radar sea state data fusion method based on time sequence
CN113391287A
Wind speed prediction hybrid model construction method and system based on correlation matrix
CN118211494A
An interactive network modeling method for electromechanical systems based on adaptive symbolic transfer entropy
CN109088770A
Shaft system thermal error modeling method and thermal error compensation system based on SLSTM neural network
CN111240268A
CNN-LSTM-based wind speed prediction method
CN112285376A
