引用本文:林昕, 朱小栋.基于Attention机制的LSTM股价预测模型(J/M/D/N,J:杂志,M:书,D:论文,N:报纸).期刊名称,2022,39(2):75-82
CHEN X. Adap tive slidingmode contr ol for discrete2ti me multi2inputmulti2 out put systems[ J ]. Aut omatica, 2006, 42(6): 4272-435
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 1690次   下载 4664 本文二维码信息
码上扫一扫!
分享到: 微信 更多
基于Attention机制的LSTM股价预测模型
林昕, 朱小栋
上海理工大学 管理学院, 上海 200093
摘要:
针对时间序列分析方法和神经网络对于股价预测具有一定局限性的问题,将基于Attention机制的LSTM模型应用于股价预测;以2014-01-02—2020-09-22日的上证工业指数、上证环保指数等相关数据为样本,在LSTM模型中引入Attention机制,使模型聚焦于重要的股价特征信息,预测股票第二日的最高价;实证研究发现,相较于MLP,RNN和LSTM模型,基于Attention机制的LSTM模型的RMSE值比基准模型平均降低了3%-45%左右,4种模型对环保企业的预测精度均高于污染企业;随后将空气质量指数,温度和湿度纳入特征,提升反映污染企业和环保企业股价规律相关特征的数据质量,实证结果发现在加入新的特征以后,4种模型在预测上证工业指数和上证环保指数波动趋势时,RMSE值均下降了1%左右。
关键词:  空气质量  注意力机制  长短期记忆网络  股价预测
DOI:
分类号:
基金项目:
Attention mechanism based LSTM Model for Stock Price Predicting
LIN Xin, ZHU Xiao-dong
Business School, University of Shanghai for Science and Technology, Shanghai 200093, China
Abstract:
Time series analysis methods and neural networks have certain limitations for stock price prediction.Therefore, Attention mechanism was introduced into the LSTM model to predict the stock price. The related data of Shanghai Stock Industry Index and Shanghai Environmental Protection Index from January 2, 2014 to September 22, 2020 was collected as samples, and based on these samples, the LSTM combined with Attention mechanism was used to focus on important stock price characteristic information and predict the highest stock price of the second day. The empirical results found that compared with MLP, RNN and LSTM models, the RMSE value of the LSTM model combined with the Attention mechanism was lower than the benchmark model by about 3% 45% on average. The four models all had higher prediction accuracy for environmental protection companies than polluting companies. Subsequently, the air quality index, temperature and humidity were included into the characteristics to improve the quality of the data that reflects the characteristics of polluting companies and environmental protection companies. The empirical results found that after adding new features, the RMSE values of the four models all dropped by about 1% when predicting the fluctuating trend of the Shanghai Industrial Index and the Shanghai Environmental Protection Index.
Key words:  air quality  attention mechanism  long short term memory  stock price prediction
重庆工商大学学报(自然科学版) 版权所有
地址:中国 重庆市 南岸区学府大道19号 重庆工商大学学术期刊社 邮编:400067
电话:023-62769495 传真:
您是第4751345位访客
关注微信二维码
重庆工商大学学报(自然科学版)
引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words:  
重庆工商大学学报(自然科学版) 版权所有
地址:中国 重庆市 南岸区学府大道19号 重庆工商大学学术期刊社 邮编:400067
电话:023-62769495 传真:
您是第4752853位访客
关注微信二维码