
Prediction of Shanghai Stock Index Based on Investor Sentiment and CNN-LSTM Model
Yi SUN, Qingsong SUN, Shan ZHU
Journal of Systems Science and Information ›› 2022, Vol. 10 ›› Issue (6) : 620-632.
Prediction of Shanghai Stock Index Based on Investor Sentiment and CNN-LSTM Model
In view of the breakthrough progress of the depth learning method in image and other fields, this paper attempts to introduce the depth learning method into stock price forecasting to provide investors with reasonable investment suggestions. This paper proposes a stock prediction hybrid model named ISI-CNN-LSTM considering investor sentiment based on the combination of long short-term memory (LSTM) and convolutional neural network (CNN). The model adopts an end-to-end network structure, using LSTM to extract the temporal features in the data and CNN to mine the deep features in the data can effectively improve the prediction ability of the model by increasing investor sentiment in the network structure. The empirical part makes a comparative experimental analysis based on Shanghai stock index in China. By comparing the experimental prediction results and evaluation indicators, it verifies the prediction effectiveness and feasibility of ISI-CNN-LSTM network model.
convolution neural network / long short-term memory / investor sentiment / stock price forecasting {{custom_keyword}} /
Table 1 Parameter selection |
Time window | Mean absolute error | Mean square error | R2 |
2 | 0.13766 | 0.02986 | 0.40335 |
3 | 0.13243 | 0.03268 | 0.4155 |
4 | 0.13956 | 0.03691 | 0.31617 |
5 | 0.14207 | 0.03392 | 0.34479 |
Table 2 Model comparison |
Model name | Mean absolute error | Mean square error | R2 |
SVM | 22.88 | 2912 | -6.3184 |
LSTM | 0.1392 | 0.0309 | -0.1005 |
CNN-LSTM | 0.1324 | 0.0327 | 0.4155 |
ISI-CNN-LSTM | 0.1317 | 0.0289 | 0.4932 |
1 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
2 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
3 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
4 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
5 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
6 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
7 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
8 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
9 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
10 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
11 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
12 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
13 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
14 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
15 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
16 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
17 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
18 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
19 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
20 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
21 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
22 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
23 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
24 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
25 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
26 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
27 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
28 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
29 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
30 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
31 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
32 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
33 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
34 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
35 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
36 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
37 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
38 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
39 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
40 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
41 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
42 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
43 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
44 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
45 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
46 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
47 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
48 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
49 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
50 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
51 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
52 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
53 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
54 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
55 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
56 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
57 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
58 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
59 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
60 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
61 |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
{{custom_ref.label}} |
{{custom_citation.content}}
{{custom_citation.annotation}}
|
/
〈 |
|
〉 |