LSTM stock price prediction optimization method based on 3D-CNN and Hash attention mechanism

A 3D-CNN, predictive optimization technology, applied in instruments, biological neural network models, finance, etc., can solve problems such as instability, high noise in stock data, and unsatisfactory prediction results of traditional models

Pending Publication Date: 2021-11-12
NANKAI UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the characteristics of high noise, nonlinearity, and instability of stock data make the prediction effect of traditional models on stock data unsatisfactory.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • LSTM stock price prediction optimization method based on 3D-CNN and Hash attention mechanism
  • LSTM stock price prediction optimization method based on 3D-CNN and Hash attention mechanism
  • LSTM stock price prediction optimization method based on 3D-CNN and Hash attention mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] Append figure 1 , 2 As shown, the neural network built by the present invention is a 4-layer convolutional neural network, composed of an input layer, a convolution layer, a cellular layer, and a lost layer.

[0025] (1) In a single-dimensional neural network, a sliding window sampling method is used, and the data within the data window is used as input. The present invention sets TIME_STEP to 30 as the height of the sliding window, and the width of the sliding window is consistent with the input data line dimension. The column dimensions of input data are consistent with the number of attributes;

[0026] (2) The present invention sets two super-parameters of the volume nucleus KERNUMBER and the convolutionary nuclear size KERNEL_SIZE. The present invention selects the Gossi Kernel as a convolutionary nucleus, and the RELU function acts as a convolution layer activation function, convolution operation completed the stock data. Depth feature extraction;

[0027] (3) The pre...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an LSTM stock price prediction optimization method based on 3D-CNN and a Hash attention mechanism. The method comprises the steps: introducing a multi-dimensional convolutional neural network mechanism for high-dimensional features of stock data to enhance the deep feature extraction capability in the stock data, wherein the stock data are multiple groups of related tense data of basic attributes, technical indexes and fused market emotion comment texts; determining a one-dimensional convolutional neural network type according to the stock data dimension in the step 1, wherein three stock data types are included in the step 1, so three convolutional neural networks are adopted, a Gaussian kernel function is adopted as a convolution kernel, and pooling operation is performed by adopting a dimension with a pooling layer size of 4; for the basic network LSTM, selecting an attention mechanism based on locality sensitive hashing to adjust the weight of neurons, so the proportion of neurons with large influence is larger. According to the method, the attention mechanism is used for LSTM hidden layer neuron state weight adjustment, the influence degree of effective features on final output is increased, and the prediction accuracy is improved.

Description

Technical field [0001] The present invention belongs to the field of LSTM stock prices, and more particularly to a LSTM share price prediction optimization method based on 3D-CNN and hash precautionary mechanisms. Background technique [0002] Stock is an important part of the financial market, and the accurate prediction of stock prices can increase the investment income of small and medium investors from microscopic, from macro contributing to the government's abnormal movement of the financial market in advance. However, stock data is high noise, nonlinear, uncomfortable characteristics, making traditional models in stock data. Based on the above background, this paper has been made through the limitations of traditional models in stock forecasts, and the optimization model of the stock data characteristics is proposed to improve stock forecast accuracy. [0003] The LSTM model is difficult to learn the problem of depth characteristics in multi-portable data, this paper is bas...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06Q40/04G06N3/04
CPCG06Q40/04G06N3/047G06N3/048G06N3/044G06N3/045
Inventor张瑞勋陶思凯周洪雨
OwnerNANKAI UNIV