Stock Price Prediction based on LSTM and XGBoost Combination Model

Authors

  • Yiming Zhu

DOI:

https://doi.org/10.62051/z6dere47

Keywords:

Stock Price Prediction; Machine Learning; LSTM Neural Network; XGBoost Ensemble Learning; Combination Model.

Abstract

In recent years, many machine learning and deep learning algorithms have been applied to stock prediction, providing a reference basis for stock trading, and LSTM neural network and XGBoost algorithm are two typical representatives, each with advantages and disadvantages in prediction. In view of this, we propose a combination model based on LSTM and XGBoost, which combines the advantages of LSTM in processing time series data and the ability of XGBoost to evaluate the importance of features. The combination model first selects feature variables with high importance through XGBoost, performs data dimensionality reduction, and then uses LSTM to make predictions. In order to verify the feasibility of the combination model, we built XGBoost, LSTM and LSTM-XGBoost models, and carried out experiments on three data sets of China Eastern Airlines, China Merchants Bank and Kweichow Moutai respectively. Finally, we concluded that the proposed LSTM-XGBoost model has good feasibility and universality in stock price prediction by comparing the accuracy of the predicted images and their performance in RMSE, RMAE, and MAPE indicators.

Downloads

Download data is not yet available.

References

Chen, T. and 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.

Dezhkam, A. and Manzuri, M. T., 2023. Forecasting stock market for an efficient portfolio by combining XGBoost and Hilbert–Huang transform. Engineering Applications of Artificial Intelligence, vol. 118, pp. 1–13.

Fang, Y., Lu, Z. and Ge, Y., 2022. Stock price prediction for the LSTM-CNN model with joint RMSE losses. Computer Engineering and Applications, 58(9), pp. 294-302.

Hochreiter, S. and Schmidhuber, J., 1997. Long short-term memory. Neural computation, 9(8), pp. 1735-1780.

Downloads

Published

12-10-2023

How to Cite

Zhu, Y. (2023) “Stock Price Prediction based on LSTM and XGBoost Combination Model”, Transactions on Computer Science and Intelligent Systems Research, 1, pp. 94–109. doi:10.62051/z6dere47.