基于 LSTM 模型和情感分析的谷歌股价预测

Yibo Liu
{"title":"基于 LSTM 模型和情感分析的谷歌股价预测","authors":"Yibo Liu","doi":"10.54254/2755-2721/54/20241395","DOIUrl":null,"url":null,"abstract":"Data analytics is increasingly widely used in economic and financial fields, with one of the more important applications being the prediction of stock price changes. However, the prediction of stock price changes is challenging because stock price changes are often uncertain and affected by multiple factors. This study is designed to use the LSTM model to predict stock price changes, and in the construction of the model to consider the psychological and emotional changes of investors, adding a sentiment analysis, combined with the sentiment index obtained from the sentiment analysis and the original stock price data as the input data for the prediction model. During the experiment, a comparison experiment was set up, i.e., only using the basic LSTM prediction model to predict stock price changes and the improved LSTM prediction model with the sentiment index obtained from the added sentiment analysis to predict stock price changes. After the comparison, the prediction results obtained by the LSTM model with the addition of sentiment analysis are more accurate, which on the one hand indicates that the change of investors' psychological sentiment will have an impact on the stock price change, and indicates that the prediction results obtained by the prediction model that considers the change of investors' sentiment are more accurate. The improved LSTM prediction model can help investors to effectively avoid possible risks when investing in stocks and thus gain more profit.","PeriodicalId":502253,"journal":{"name":"Applied and Computational Engineering","volume":"58 5","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Stock price prediction for Google based on LSTM model with sentiment analysis\",\"authors\":\"Yibo Liu\",\"doi\":\"10.54254/2755-2721/54/20241395\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Data analytics is increasingly widely used in economic and financial fields, with one of the more important applications being the prediction of stock price changes. However, the prediction of stock price changes is challenging because stock price changes are often uncertain and affected by multiple factors. This study is designed to use the LSTM model to predict stock price changes, and in the construction of the model to consider the psychological and emotional changes of investors, adding a sentiment analysis, combined with the sentiment index obtained from the sentiment analysis and the original stock price data as the input data for the prediction model. During the experiment, a comparison experiment was set up, i.e., only using the basic LSTM prediction model to predict stock price changes and the improved LSTM prediction model with the sentiment index obtained from the added sentiment analysis to predict stock price changes. After the comparison, the prediction results obtained by the LSTM model with the addition of sentiment analysis are more accurate, which on the one hand indicates that the change of investors' psychological sentiment will have an impact on the stock price change, and indicates that the prediction results obtained by the prediction model that considers the change of investors' sentiment are more accurate. The improved LSTM prediction model can help investors to effectively avoid possible risks when investing in stocks and thus gain more profit.\",\"PeriodicalId\":502253,\"journal\":{\"name\":\"Applied and Computational Engineering\",\"volume\":\"58 5\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Applied and Computational Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.54254/2755-2721/54/20241395\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied and Computational Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.54254/2755-2721/54/20241395","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

数据分析在经济和金融领域的应用越来越广泛,其中一个比较重要的应用就是预测股价变化。然而,由于股价变化往往具有不确定性,且受多种因素影响,因此预测股价变化具有一定的挑战性。本研究旨在利用 LSTM 模型预测股价变化,并在构建模型时考虑了投资者的心理和情绪变化,加入了情感分析,结合情感分析得到的情感指数和原始股价数据作为预测模型的输入数据。在实验过程中,还设置了对比实验,即仅使用基本 LSTM 预测模型预测股价变化,以及使用改进后的 LSTM 预测模型结合添加情感分析后得到的情感指数预测股价变化。经过对比,添加了情感分析的 LSTM 模型得到的预测结果更加准确,这一方面说明投资者心理情绪的变化会对股价变化产生影响,另一方面也说明考虑了投资者情绪变化的预测模型得到的预测结果更加准确。改进后的 LSTM 预测模型可以帮助投资者在投资股票时有效规避可能存在的风险,从而获得更多收益。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Stock price prediction for Google based on LSTM model with sentiment analysis
Data analytics is increasingly widely used in economic and financial fields, with one of the more important applications being the prediction of stock price changes. However, the prediction of stock price changes is challenging because stock price changes are often uncertain and affected by multiple factors. This study is designed to use the LSTM model to predict stock price changes, and in the construction of the model to consider the psychological and emotional changes of investors, adding a sentiment analysis, combined with the sentiment index obtained from the sentiment analysis and the original stock price data as the input data for the prediction model. During the experiment, a comparison experiment was set up, i.e., only using the basic LSTM prediction model to predict stock price changes and the improved LSTM prediction model with the sentiment index obtained from the added sentiment analysis to predict stock price changes. After the comparison, the prediction results obtained by the LSTM model with the addition of sentiment analysis are more accurate, which on the one hand indicates that the change of investors' psychological sentiment will have an impact on the stock price change, and indicates that the prediction results obtained by the prediction model that considers the change of investors' sentiment are more accurate. The improved LSTM prediction model can help investors to effectively avoid possible risks when investing in stocks and thus gain more profit.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信