Data prediction model adjusting and optimizing method and apparatus based on LSTM network
A data prediction and data technology, applied in the field of data processing, can solve problems such as inability to guarantee local optimal solutions, slow calculation speed, large data sets of difficult variables, etc., and achieve the effects of fast calculation speed, good prediction and elimination of risks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Such as figure 1 As shown, an LSTM network-based data prediction model tuning method provided by Embodiment 1 of the present invention includes:
[0042] Step S1, preprocessing:
[0043] In this embodiment, assume that the variable to be predicted is Y, calculate the period value of the variable Y to be predicted according to the data of the variable Y to be predicted in the data set, arrange the period values from small to large, and obtain the first N small period values of the variable to be predicted , that is, let the periodic value of Y be n={n 1 ,n 2 ,...,n N}, n 1 2 N .
[0044] Calculate the correlation coefficient between each variable in the data set and the variable to be predicted, arrange each variable according to its correlation coefficient from large to small, and extract the data of the first few variables in the data set whose sum of correlation coefficients is greater than the coefficient threshold to form a training set.
[0045] The origi...
Embodiment 2
[0055] Embodiment 2 is basically the same as Embodiment 1, and the similarities will not be described in detail. The difference lies in:
[0056] In step S1, when calculating the periodic value of the variable to be predicted according to the data of the variable to be predicted in the data set, the data of the variable to be predicted is normalized according to the order of time series, and the sequence value of each zero-crossing point is recorded, and the adjacent two The difference between the sequence values of zero-crossing points is recorded as the periodic value of the variable to be predicted. The sequence value here is the number of rows in the dataset.
[0057] Preferably, when acquiring the first N smaller cycle values of the variable to be predicted, the value range of N is 4-7. Further preferably, the value of N is 5, that is, the first 5 smaller period values are selected sequentially, and a total of 5 rounds of training are performed. It has been verifi...
Embodiment 3
[0065] Such as Figure 5 As shown, Embodiment 3 of the present invention provides an LSTM network-based data prediction model tuning device, including a preprocessing unit 100 and a model training unit 200, wherein:
[0066] The preprocessing unit 100 is used to calculate the periodic value of the variable to be predicted according to the data of the variable to be predicted in the data set, arrange the periodic values from small to large, and obtain the N smallest periodic values of the variable to be predicted; The correlation coefficient between the variable and the variable to be predicted, and arrange each variable according to its correlation coefficient from large to small, and extract the data of the first few variables whose sum of correlation coefficient is greater than the coefficient threshold in the data set to form a training set.
[0067] The model training unit 200 is used to construct a model using the training set obtained by the preprocessing unit 100 an...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com