Stock price prediction method and system fusing text multi-theme information, and medium

A technology of price forecasting and theme information, applied in market forecasting, finance, instruments, etc., can solve the problems of different influence of stock price forecasting, unfavorable error propagation, etc.

Active Publication Date: 2019-10-22
SHANGHAI JIAO TONG UNIV
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the topic model is a commonly used method to extract text topics, the topic model separates topic recognition and prediction, which is not conducive to reverse error propagation, and the topic model cannot solve the problem that different topics have different influences on stock price prediction.

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 fusing text multi-theme information, and medium
  • Stock price prediction method and system fusing text multi-theme information, and medium
  • Stock price prediction method and system fusing text multi-theme information, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0179] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0180] According to a kind of stock price prediction method of fusion text multi-theme information provided by the present invention, comprising:

[0181] Data preprocessing step: obtain text data and stock data, preprocess the obtained text data and stock data, and obtain preprocessed data;

[0182] Model training step: according to the obtained preprocessed data, train the stock price prediction model to obtain the trained model;

[0183] Stock price prediction step: According to the obtained trained...

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 a stock price prediction method and system fusing text multi-theme information and a medium, and the method comprises the steps: a data preprocessing step: obtaining text data and stock data, carrying out the preprocessing of the obtained text data and stock data, and obtaining the preprocessed data; and a model training step: training a stock price prediction model according to the obtained preprocessed data to obtain a trained model. According to the method, a multi-head attention mechanism is used for mapping text vectors to different semantic spaces, then theme information is extracted, and finally different attention weights are ingeniously used for fusing different theme information. In addition, text information and stock price information are effectively fused into a unified framework by utilizing an encoder and decoder framework, so that the influence of different time nodes on stock price prediction can be dynamically adjusted.

Description

technical field [0001] The present invention relates to the technical field of stock price forecasting, in particular to a stock price forecasting method, system and medium for fusing text multi-theme information. Background technique [0002] In recent years, mining massive text information to predict stock prices has achieved good results. However, these methods basically use a fixed-length vector to represent each text, ignoring that each text may contain multiple topics and these different topics may have different effects on stock prices. In order to make full use of the information of different topics in the text, the present invention designs a multi-head attention mechanism to map the text to different semantic spaces. Since there is redundant information in different texts, the pooling operation is used to extract the topic information of different semantic spaces, and finally the different topics are used to The influence of the integration of different topics of ...

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): G06Q30/02G06Q40/04G06N3/04
CPCG06Q30/0206G06Q40/04G06N3/045
Inventor唐宁沈艳艳黄林鹏
OwnerSHANGHAI JIAO TONG UNIV