Stacked Block Analysis Based on LSTM for Stock Price Prediction
DOI:
https://doi.org/10.62051/xh2b7w58Keywords:
Long Short-Term Memory; Long-Range Dependencies; Stock Market Prediction Models.Abstract
Long Short-Term Memory (LSTM) networks and their modified versions, Stacked LSTM, are often used for time series prediction due to their powerful ability to model long-range dependencies. However, few papers have delved into the relationship between the number of layers of LSTM and model performance. For this purpose, this study used LSTM and stacked LSTM at different levels to predict the univariate time series dataset of Apple Inc. stock prices. The goal is to study the relationship between stacking and performance in stock price prediction. The time span in the data is from 2000 to 2022, to discuss whether this relationship and overfitting will damage the model. The results indicate that as long as the model complexity is suitable for the complexity of the dataset, the number of layers is positively correlated with the model performance. It can provide basic knowledge of selecting layers when training other stock market prediction models, which will significantly save time and effort.
Downloads
References
S.P. Chatzis, V. Siakoulis, A. Petropoulos, et al. Forecasting stock market crisis events using deep and statistical machine learning techniques. Expert Systems with Applications, 2018, pp. 353-371. DOI: https://doi.org/10.1016/j.eswa.2018.06.032
G. Sonkavde, D.S. Dharrao, A.M. Bongale, et al. Forecasting Stock Market Prices Using Machine Learning and Deep Learning Models: A Systematic Review, Performance Analysis and Discussion of Implications. 2023. DOI: https://doi.org/10.3390/ijfs11030094
K.E. Hoque and H. Aljamaan, Impact of Hyperparameter Tuning on Machine Learning Models in Stock Price Forecasting. 9, 2021, pp. 163815-163830. DOI: https://doi.org/10.1109/ACCESS.2021.3134138
S. Hochreiter, and J. Schmidhuber. Long short-term memory. Neural Computation 9(8), 1997, pp. 1735–1780. DOI: https://doi.org/10.1162/neco.1997.9.8.1735
U. Sharma, S. Seniaray, Stock Prediction and Forecasting using Stacked LSTM-Recurrent Neural Network Model, 2021.
H. Hamoudi, A. Mohamed, Stock Market Prediction using CNN and LSTM, Winter 2018.
W. MingTai, N. Herencsar, et al. A graph-based CNN-LSTM stock price prediction algorithm with leading indicators. Multimedia systems, 2023.
Z. Zhichao, Q. Zihao, Using LSTM in Stock prediction and Quantitative Trading, Winter 2020.
C.R. Staudemeyer, E.R. Morris, Understanding LSTM a tutorial into Long Short-Term Memory Recurrent Neural Networks, 2019.
G. Van Houdt, C. Mosquera, & G. Nápoles, A review on the long short-term memory model, 2020. DOI: https://doi.org/10.1007/s10462-020-09838-1
Information on: https://finance.yahoo.com/.
Downloads
Published
Conference Proceedings Volume
Section
License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.