Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Stock price prediction method of gated cycle unit neural network based on Kalman filtering

A cyclic unit and neural network technology, which is applied in the field of stock price prediction of gated cyclic unit neural network, can solve the problems of high noise, high volatility, data redundancy, etc., and achieves noise reduction, simple structure, and good prediction effect. Effect

Pending Publication Date: 2020-05-29
DALIAN UNIVERSITY
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Due to the characteristics of the stock market, such as high volatility, various market types, and data redundancy, stock forecasting is quite challenging, and stock price forecasting has always been one of the issues that people care about. In the past period of time, the traditional Technical analysis methods play a very important role in stock analysis and forecasting, but as the magnitude of stock data increases, traditional technical methods may not be able to meet the changing speed of stock price trends
In addition, the volatility of the stock market is a nonlinear multi-variable dynamic system. It is quite subjective to predict it only by relying on personal intuition and judgment.
[0003] The financial time series has the characteristics of non-stationary, nonlinear, and high noise. The stock price series we see also contains noise, which will make the useful series overlap with the noise, so that the traditional forecasting method cannot produce ideal forecasting results.

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
  • Stock price prediction method of gated cycle unit neural network based on Kalman filtering
  • Stock price prediction method of gated cycle unit neural network based on Kalman filtering
  • Stock price prediction method of gated cycle unit neural network based on Kalman filtering

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] In this embodiment, three stock indexes of Standard & Poor's 500 Index (S&P500), Nasdaq Composite Index (NASDAQ), and Hang Seng Index (HSI) are used as example data sets. The data of S&P500 and nasdaq are from January 3, 2000 to July 1, 2019. HSI data is from January 2, 2002 to July 1, 2019. There are 6 basic variables in each data set, including opening price, closing price, highest price, lowest price, adjusted closing price, and trading volume.

[0055] Step 1: Obtain historical stock data. The data set is divided into a training set and a test set, and the historical data in the training set and test set is standardized and preprocessed. Each time the data length with the step length as steptime is fed to the gated recurrent unit neural network for training. The specific form of the input data is as follows:

[0056]

[0057] Among them, T is the time step, D is the dimension of the input data;

[0058] Step 2: Build a GRU neural network and use the training set to tra...

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 discloses a stock price prediction method of a gated recurrent unit neural network based on Kalman filtering, and belongs to the field of deep learning and stock prediction, and the method comprises the steps: S1, obtaining stock historical data, dividing the data into a training set and a test set, and carrying out the preprocessing; S2, initializing parameters required by prediction of the gating cycle unit neural network, constructing a gating cycle unit neural network model, and training and storing the gating cycle unit neural network model; S3, using the trained predictionmodel to predict the test set data, and using a Kalman filtering algorithm to perform denoising optimization on the obtained prediction result sequence; and S4, evaluating the performance of the prediction model for the denoised and optimized result in S3 by using the root-mean-square error and the determination coefficient. The stock price is predicted through the gating cycle unit neural network, and the prediction result sequence and the true value are compared and optimized by using the Kalman filtering algorithm so as to achieve the more accurate prediction effect.

Description

Technical field [0001] The present invention belongs to the field of deep learning and stock prediction. More specifically, it relates to a method for predicting stock prices based on Kalman filter-based gated recurrent unit neural network, which uses historical stock price sequences to accurately predict future stock prices. Background technique [0002] The stock market is quite challenging due to its high volatility, various types of markets, and data redundancy. The stock price prediction has always been one of the issues that people care about. In the past period of time, the traditional Technical analysis methods play a very important role in stock analysis and forecasting, but as the magnitude of stock data increases, traditional technical methods may not be able to meet the speed of changes in stock price trends. In addition, the volatility of the stock market is a non-linear multivariable dynamic system. It is quite subjective to predict it only relying on personal intui...

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
IPC IPC(8): G06Q10/04G06N3/04G06N3/08G06Q40/04
CPCG06Q10/04G06Q40/04G06N3/08G06N3/044G06N3/045
Inventor 王宾邱佳玉吕卉张强魏小鹏
Owner DALIAN UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products