Applying ensemble learning to multiple stock price predictions: A comparative study
Abstract
Predicting stock prices has been a perennial challenge and topic of interest for financial analysts, investors, and researchers alike. This holds true especially for influential tech companies that significantly impact the stock market landscape like Google and Tesla. While numerous models and methods have been applied to forecast stock prices globally, there remains a gap in a comparative, in-depth evaluation using Support Vector Regression (SVR), Recurrent Neural Network (RNN), Long Short-Term Memory network (LSTM), and XGBoost models for predicting prices of prominent tech stocks. This paper aims to bridge this gap, presenting a comprehensive model comparison for stock price forecasting. A series of datasets, inclusive of Google's stock prices and Tesla stock price, form the backbone of the analysis. Among the evaluated models, our preliminary findings indicate that LSTM and XGBoost demonstrate superior predictive capabilities, capturing intricate market dynamics with high precision. Further, the paper delves into the underlying factors and patterns driving stock prices, gleaning insights from the models' predictions. Through this research, this paper offers valuable benchmarks and insights for the best model for research in the field of stock price predictions and some evaluation of different features in the field of stock price predictions.
References
- Bao, W., Yue, J., & Rao, Y. (2017). A deep learning framework for financial time series using stacked autoencoders and long-short term memory. PloS one, 12(7), e0180944.
- Tsay, R. S. (2010). Analysis of financial time series. _John Wiley & Sons_.
- Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. _Neural computation_, 9(8), 1735-1780.
- Wang, Y. (2019). Stock price prediction using LSTM, RNN and CNN-sliding window model. arXiv preprint arXiv:1909.12207.
- Box, G. E., & Jenkins, G. M. (1970). Time series analysis: forecasting and control. San Francisco: Holden-Day.
- Engle, R. F. (1982). Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica: Journal of the Econometric Society.
- S. Hochreiter and J. Schmidhuber, "Long Short-Term Memory," in Neural Computation, vol. 9, no. 8, pp. 1735-1780, 15 Nov. 1997, doi: 10.1162/neco.1997.9.8.1735.
- Friedman, J. H. (2001). Greedy function approximation: a gradient boosting machine.
- Chen, T., & Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785-794).
- Zhou, S., Chen, J., Wang, J., Wen, C., Wang, Y., & Wu, Y. (2021). Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting.