Stock price prediction method and system based on improved LSTM

A price prediction and improved technology, applied in biological neural network models, instruments, finance, etc., can solve the problems of limited number of samples, unsatisfactory actual prediction effect, weak model expression ability, etc., so as to increase the amount of data and improve the model prediction. effect of effect

Inactive Publication Date: 2019-01-25
安徽磐众信息科技有限公司
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a stock price prediction method based on improved LSTM and its system, to solve the problem that the prior art stock price prediction model proposed in the above-mentioned background technology has a limited number of samples and has relatively large limitations, so that The expressive ability of the model is weak, and the actual prediction effect is not ideal

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 and system based on improved LSTM
  • Stock price prediction method and system based on improved LSTM
  • Stock price prediction method and system based on improved LSTM

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] Such as figure 1 As shown, a stock price prediction method based on improved LSTM, the method includes the following steps:

[0025] S1. Obtain historical data with different characteristics at different time points of stock trading, and select training data based on actual prediction needs.

[0026] When obtaining the historical data of stock transactions, historical data with different characteristics at different time points are selected. In order t...

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 based on an improved LSTM. The method comprises the following steps: S1, acquiring historical data with different characteristics at different time points of stock trading, and selecting training data based on actual prediction needs; 2, inputting training data, constructing a stock price prediction model based on the deep learning theory andusing a multi-layer LSTM neural network, and training the stock price prediction model; S3, outputting a prediction result, combining the real value and taking the error percentage as the evaluationindex to carry on the evaluation. The system includes a data acquisition and selection module, a model construction and training module and a prediction and evaluation module. The invention utilizes the multi-layer LSTM neural network to construct the stock price prediction model, obtains the stock historical data with different characteristics at a plurality of time points at one time, greatly increases the amount of data, and trains the stock price prediction model by using the training data, so that the stock price prediction model can show more scenes, and thus the prediction effect of themodel is greatly improved.

Description

technical field [0001] The invention relates to the technical field of stock price forecasting technology and data feature extraction, in particular to an improved LSTM-based stock price forecasting method and system thereof. Background technique [0002] Today's stock market is not only faced with the problem of large and complex market data, but also the challenge of low prediction accuracy. In this environment, if we can extract massive amounts of data, we can predict stock prices more accurately than competitors in stock prices affected by multiple factors, which means that millions of yuan or even more can be created every second. Trading volume. Therefore, how to improve the accuracy of stock price forecasting has become an urgent problem to be solved. In order to increase the accuracy of forecasting, enterprises hope to increase the amount of forecasted data, design more complex and sophisticated algorithms, increase the sample size, reduce limitations, and use diff...

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/02
CPCG06Q40/04G06N3/02
Inventor江寅朱传瑞
Owner安徽磐众信息科技有限公司