Stock price prediction based on LSTM and LightGBM hybrid model

被引:18
|
作者
Tian, Liwei [1 ,2 ]
Feng, Li [1 ]
Yang, Lei [1 ,2 ]
Guo, Yuankai [3 ]
机构
[1] Macau Univ Sci & Technol, Macau 999078, Peoples R China
[2] Guangdong Univ Sci & Technol, Dongguan 523083, Peoples R China
[3] Ankang Vocat Tech Coll, Ankang 725000, Peoples R China
来源
JOURNAL OF SUPERCOMPUTING | 2022年 / 78卷 / 09期
关键词
LSTM; LightGBM; Bayesian optimization; Stock price forecast; VOLATILITY;
D O I
10.1007/s11227-022-04326-5
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Finding an accurate, stable and effective model to predict the rise and fall of stocks has become a task increasingly favored by scholars. This paper proposes a long short-term memory (LSTM) network based on Pearson's correlation coefficient and a Bayesian-optimized LightGBM hybrid model, named as LSTM-BO-LightGBM, to solve the problem of stock price fluctuation prediction. The multilayer bidirectional LSTM-BO-LightGBM prediction model is compared with the LSTM-BO-XGBoost hybrid model, the LSTM-LightGBM hybrid model, the LSTM-XGBoost hybrid model, the single LSTM network model and the RNN network model. The prediction result of the LSTM-BO-LightGBM model for the "ES = F" stock is an RMSE value of 596.04, MAE value of 15.24, accuracy value of 0.639 and f1_score value of 0.799, which are improved compared with the prediction results of the other five models. At the same time, when applying the model to "YM = F", "CL = F", "<^>TNX", "<^>N225", "NQ = F", "AAPL", "GC = F", "JPY = X" and "SI = F", all of the nine stocks showed good forecasting performance. The results demonstrate that the multilayer bidirectional LSTM-BO-LightGBM model proposed in this paper has better approximation ability and generalization ability in the stock fluctuation forecast than previous models and can well fit the stock fluctuation.
引用
收藏
页码:11768 / 11793
页数:26
相关论文
共 50 条
  • [1] Stock price prediction based on LSTM and LightGBM hybrid model
    Liwei Tian
    Li Feng
    Lei Yang
    Yuankai Guo
    [J]. The Journal of Supercomputing, 2022, 78 : 11768 - 11793
  • [2] Stock Trend Prediction Based on ARIMA-LightGBM Hybrid Model
    Zheng, Xiuyan
    Cai, Jiajing
    Zhang, Guangfu
    [J]. 2022 3RD INFORMATION COMMUNICATION TECHNOLOGIES CONFERENCE (ICTC 2022), 2022, : 227 - 231
  • [3] Study on the prediction of stock price based on the associated network model of LSTM
    Guangyu Ding
    Liangxi Qin
    [J]. International Journal of Machine Learning and Cybernetics, 2020, 11 : 1307 - 1317
  • [4] Study on the prediction of stock price based on the associated network model of LSTM
    Ding, Guangyu
    Qin, Liangxi
    [J]. INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2020, 11 (06) : 1307 - 1317
  • [5] An LSTM-GRU based hybrid framework for secured stock price prediction
    Patra, Gyana Ranjan
    Mohanty, Mihir Narayan
    [J]. JOURNAL OF STATISTICS AND MANAGEMENT SYSTEMS, 2022, 25 (06) : 1491 - 1499
  • [6] The LSTM Model with Error Rectification in Stock Price Prediction
    Li, Junxi
    Li, Zheran
    Lei, Wanning
    [J]. 2021 3RD INTERNATIONAL CONFERENCE ON MACHINE LEARNING, BIG DATA AND BUSINESS INTELLIGENCE (MLBDBI 2021), 2021, : 140 - 143
  • [7] Study on the application of LSTM-LightGBM Model in stock rise and fall prediction
    Guo, Yuankai
    Li, Yangyang
    Xu, Yuan
    [J]. 2020 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE COMMUNICATION AND NETWORK SECURITY (CSCNS2020), 2021, 336
  • [8] A new attention-based LSTM model for closing stock price prediction
    Lin, Yuyang
    Huang, Qi
    Zhong, Qiyin
    Li, Muyang
    Li, Yan
    Ma, Fei
    [J]. INTERNATIONAL JOURNAL OF FINANCIAL ENGINEERING, 2022, 09 (03)
  • [9] A Hybrid Prediction Method for Stock Price Using LSTM and Ensemble EMD
    Yujun, Yang
    Yimei, Yang
    Jianhua, Xiao
    [J]. COMPLEXITY, 2020, 2020
  • [10] CTL: A Stock Price Index Prediction Network Based on a Hybrid Structure of CEEMDAN, Transformer and LSTM
    Sun, Song
    Zhang, Liang
    Yu, Chuanwei
    [J]. PROCEEDINGS OF 2024 3RD INTERNATIONAL CONFERENCE ON CYBER SECURITY, ARTIFICIAL INTELLIGENCE AND DIGITAL ECONOMY, CSAIDE 2024, 2024, : 606 - 612