面向图片和文本多源异质数据的股票预测联合模型
A Joint Model for Stock Prediction Based on Image and Text Multisource Heterogeneous Data
摘要: 股票预测一直是金融界研究的热点问题,近年来融合文本、图片这类非结构化数据成为提高预测精度的研究方向。本文建立了一种能够同时处理多源异质数据的股票价格走势预测联合模型,分析词云图片、股吧评论文本和股票交易数据。联合模型分为两个分支,一个分支运用CNN模型分析由股民评论文本转为的词云图片,另一分支运用LSTM模型处理历史股票交易数据和由股民评论文本得到的情感评分,两个分支共同预测4天、6天、8天的股票走势涨跌。结果表明使用词云图片的CNN模型表现优于情感分析的LSTM模型,证明词云图片的可使用性,且联合模型结果优于两个单一模型,准确率稳定在0.6~0.7之间。
Abstract: Stock prediction has always been a hot topic in the financial industry, and in recent years, integrat-ing unstructured data such as text and images has become a research direction to improve predic-tion accuracy. This article establishes a joint model for predicting stock price trends that can sim-ultaneously process multi-source heterogeneous data, including the analysis of word cloud images, stock bar comments, and historical stock trading data. The proposed model comprises two branches. The first branch utilizes a CNN model to dissect word cloud images derived from stock comment texts, while the second branch employs an LSTM model to process historical stock trading data and emotional scores gleaned from the stock comment texts. Two branches jointly predict the rise and fall of stock trends for 4, 6, and 8 days. The findings indicate that the CNN model’s use of word cloud images yields superior performance compared to the LSTM model’s sentiment analysis. This out-come underscores the efficacy of leveraging word cloud images as a predictive tool. Moreover, the joint model’s results surpass those of the individual models, with an achieved accuracy consistently ranging between 0.6 and 0.7.
文章引用:昝泓含, 李艳艳. 面向图片和文本多源异质数据的股票预测联合模型[J]. 计算机科学与应用, 2024, 14(1): 88-97. https://doi.org/10.12677/CSA.2024.141010

参考文献

[1] 康瑞雪, 牛保宁, 李显, 等. 融合多源数据输入具有自注意力机制的LSTM价格预测[J]. 小型微型计算机系统, 2023, 44(2): 326-333.
[2] Maqbool, J., Aggarwal, P., Kaur, R., et al. (2023) Stock Prediction by Integrating Sentiment Scores of Financial News and MLP-Regressor: A Machine Learning Approach. Procedia Computer Science, 218, 1067-1078. [Google Scholar] [CrossRef
[3] Liu, S., Zhang, X.D., Wang, Y., et al. (2020) Recurrent Convolu-tional Neural Kernel Model for Stock Price Movement Prediction. PLOS ONE, 15, e0234206. [Google Scholar] [CrossRef] [PubMed]
[4] Hung, C.C. and Chen, Y.J. (2021) DPP: Deep Predictor for Price Movement from Candlestick Charts. PLOS ONE, 16, e0252404. [Google Scholar] [CrossRef] [PubMed]
[5] Jafari, A. and Haratizadeh, S.G. (2022) CNET: Graph-Based Prediction of Stock Price Movement Using Graph Convolutional Network. Engineering Applications of Artificial Intelli-gence, 116, Article ID: 105452. [Google Scholar] [CrossRef
[6] Ho, T.T. and Huang, Y. (2021) Stock Price Movement Pre-diction Using Sentiment Analysis and CandleStick Chart Representation. Sensors, 21, Article No. 7957. [Google Scholar] [CrossRef] [PubMed]
[7] Li, Y. and Pan, Y. (2022) A Novel Ensemble Deep Learning Model for Stock Prediction Based on Stock Prices and News. International Journal of Data Science and Analytics, 13, 139-149. [Google Scholar] [CrossRef] [PubMed]
[8] 刘月娟, 王武. 基于多特征融合的股票走势预测研究[J]. 云南民族大学学报(自然科学版), 2022, 31(2): 227-234.
[9] 方义秋, 卢壮, 葛君伟. 联合RMSE损失LSTM-CNN模型的股价预测[J]. 计算机工程与应用, 2022, 58(9): 294-302.
[10] 姚加权. 语调、情绪及市场影响: 基于金融情绪词典[J]. 管理科学学报, 2021, 24(5): 26-46.