Predicting the stock prices of listed companies based on the LSTM model of recurrent neural network

Authors

  • Jiayue Lai

DOI:

https://doi.org/10.61173/av49xn45

Keywords:

LSTM, RNN, KFC dataset, error analysis, MAE, RMSE, MAPE

Abstract

This experiment uses the LSTM model and establishes a two-layer LSTM structure to enhance the learning ability of long-term dependencies. The Dropout layer can prevent the model from overfitting historical data during training. Normalization, time series sliding window technology, and 80-20 training-test split method are used for data preprocessing. MAE, RMSE, and MAPE are used for evaluation to compare the predicted value with the actual value.

References

[1] Patel, J., Patel, M., & Darji, M. (2018). Stock price prediction using RNN and LSTM. Journal of Emerging Technologies and Innovative Research, 5(11), 1069-1079.

[2] Ding, G., & Qin, L. (2020). Study on the prediction of stock price based on the associated network model of LSTM. International Journal of Machine Learning and Cybernetics, 11(6), 1307-1317.

[3] Selvin, S., Vinayakumar, R., Gopalakrishnan, E. A., Menon, V. K., & Soman, K. P. (2017, September). Stock price prediction using LSTM, RNN and CNN-sliding window model. In 2017 international conference on advances in computing, communications and informatics (icacci) (pp. 1643-1647). IEEE.

[4] Zhuge, Q., Xu, L., & Zhang, G. (2017). LSTM Neural Network with Emotional Analysis for prediction of stock price. Engineering letters, 25(2).

[5] Pahlawan, M. R., Riksakomara, E., Tyasnurita, R., Muklason, A., Mahananto, F., & Vinarti, R. A. (2021). Stock price forecast of macro-economic factor using recurrent neural network. IAES International Journal of Artificial Intelligence, 10(1), 74.

[6] Ho, M. K., Darman, H., & Musa, S. (2021, July). Stock price prediction using ARIMA, neural network and LSTM models. In Journal of Physics: Conference Series (Vol. 1988, No. 1, p. 012041). IOP Publishing.

[7] Pramod, B. S., & Pm, M. S. (2020). Stock price prediction using LSTM. Test Engineering and Management, 83(3), 5246-5251.

[8] Minami, S. (2018). Predicting equity price with corporate action events using LSTM-RNN. Journal of Mathematical Finance, 8(1), 58-63.

[9] Kavinnilaa, J., Hemalatha, E., Jacob, M. S., & Dhanalakshmi, R. (2021, July). Stock price prediction based on LSTM deep learning model. In 2021 International Conference on System, Computation, Automation and Networking (ICSCAN) (pp. 1-4). IEEE.

[10] Wu, S., Liu, Y., Zou, Z., & Weng, T. H. (2022). S_ I_LSTM: stock price prediction based on multiple data sources and sentiment analysis. Connection Science, 34(1), 44-62.

[11] Pawar, K., Jalem, R. S., & Tiwari, V. (2019). Stock market price prediction using LSTM RNN. In Emerging Trends in Expert Applications and Security: Proceedings of ICETEAS 2018 (pp. 493-503). Springer Singapore.

[12] Dey, P., Hossain, E., Hossain, M. I., Chowdhury, M. A., Alam, M. S., Hossain, M. S., & Andersson, K. (2021). Comparative analysis of recurrent neural networks in stock price prediction for different frequency domains. Algorithms, 14(8), 251.

Downloads

Published

2025-04-21