A Comparative Study of LSTM Variants in Prediction for Tesla’s Stock Price

Authors

  • Jianyao Li

DOI:

https://doi.org/10.54691/bcpbm.v34i.2861

Keywords:

Vanilla LSTM; Stacked LSTM; Bi-LSTM; CNN LSTM; Tesla.

Abstract

Long short-term memory (LSTM) is widely used in the stock market to train the prediction model and forecast future stock prices. Applying the LSTM method to research may incur some problems and facilitate the improvement of the method. Therefore, many LSTM variants are put forward under different circumstances. This paper surveys four LSTM variants, including Vanilla, Stacked, Bi-directional, and CNN LSTM on two different data sets regarding Tesla's stock price. Two data sets mentioned in this paper represent different stock types. To be more specific, data set 1 refers to stocks with a single long-term trend, while data set 2 can be seen as an example of stocks with more complexity. The result shows that the Vanilla LSTM reaches the highest prediction accuracy on the data set without any irregular shift in the long-term trend. CNN LSTM also provides decent predictions for the stock price. Otherwise, the Stacked LSTM performs the best for stock prediction. Bi-LSTM and CNN LSTM are also suitable for stock forecasting in more complicated situations. The change in preference for model selection proves that a company's operation situation and market circumstances also influence the prediction performance of LSTM variants.

Downloads

Download data is not yet available.

References

Aggarwal, Divya, Shabana Chandrasekaran, and Balamurugan Annamalai. "A complete empirical ensemble mode decomposition and support vector machine-based approach to predict Bitcoin prices." Journal of behavioral and experimental finance 27 (2020): 100335.Fangfang. Research on power load forecasting based on Improved BP neural network. Harbin Institute of Technology, 2011.

Zhang, Lei. Research on stock market trend analysis and prediction based on support vector machine.2020. Nanjing University of Posts and Telecommunications, MA thesis.

Shah, Jaiwin, et al. "Stock Market Prediction using Bi-Directional LSTM." 2021 International Conference on Communication Information and Computing Technology (ICCICT). IEEE, 2021.

Leevy, Joffrey L., Taghi M. Khoshgoftaar, and Flavio Villanustre. "Survey on RNN and CRF models for de-identification of medical free text." Journal of Big Data 7.1 (2020): 1 - 22.

K. D. Gunawardana, An Introduction to Artificial Neural Networks for Accounting and Finance Modelling, Colombo: Author Publication, 2009.

Smagulova, Kamilya, and Alex Pappachen James. "A survey on LSTM memristive neural network architectures and applications." The European Physical Journal Special Topics228.10 (2019): 2313 - 2324.

Orsel, Ogulcan E., and Sasha S. Yamada. "Comparative Study of Machine Learning Models for Stock Price Prediction." arXiv preprint arXiv:2202.03156 (2022).

Yu, Yong, et al. "A review of recurrent neural networks: LSTM cells and network architectures." Neural computation 31.7 (2019): 1235 - 1270.

Brownlee, J. Deep Learning with Python: Develop Deep Learning Models on Theano and TensorFlow Using Keras; Machine Learning Mastery: Melbourne, Australia, 2017.

Greff, Klaus, et al. "LSTM: A search space odyssey." IEEE transactions on neural networks and learning systems 28.10 (2016): 2222 - 2232.

Ngoc Hai, Pham, et al. "An Empirical Research on the Effectiveness of Different LSTM Architectures on Vietnamese Stock Market." 2020 International Conference on Control, Robotics and Intelligent System. 2020.

Althelaya, Khaled A., El-Sayed M. El-Alfy, and Salahadin Mohammed. "Evaluation of bidirectional LSTM for short-and long-term stock market prediction." 2018 9th international conference on information and communication systems (ICICS). IEEE, 2018.

Zou, Zhichao, and Zihao Qu. "Using LSTM in Stock prediction and Quantitative Trading." CS230: Deep Learning, Winter (2020): 1 - 6.

Lu, Wenjie, et al. "A CNN-LSTM-based model to forecast stock prices." Complexity 2020 (2020).

Downloads

Published

2022-12-14

How to Cite

Li, J. (2022). A Comparative Study of LSTM Variants in Prediction for Tesla’s Stock Price. BCP Business & Management, 34, 30-38. https://doi.org/10.54691/bcpbm.v34i.2861