Education, Science, Technology, Innovation and Life
Open Access
Sign In

CNN-GRU-XGBoost stock price prediction model under hyperparameter-based optimisation

Download as PDF

DOI: 10.23977/ferm.2024.070519 | Downloads: 46 | Views: 1229

Author(s)

Yunyi Liu 1

Affiliation(s)

1 Hangzhou Dianzi University, Hangzhou, China

Corresponding Author

Yunyi Liu

ABSTRACT

This paper addresses the limitations of existing stock price prediction methods, which often lack explanatory power and struggle with complex hyperparameter combinations. We propose a hyperparameter tuning approach based on the CNN-GRU-XGBoost model. By employing Bayesian tuning for the CNN-GRU and random search for XGBoost, we identify the optimal hyperparameters. The CNN extracts local features from the data, while the GRU captures long-term dependencies. The combined features are then input into the XGBoost model for accurate stock predictions. Testing on five years of Hang Seng Index data demonstrates significant improvements in prediction accuracy, reduced noise, and enhanced model interpretability compared to traditional single models.

KEYWORDS

Stock price prediction, convolutional neural network, XGBoost, Bayesian search, random search

CITE THIS PAPER

Yunyi Liu, CNN-GRU-XGBoost stock price prediction model under hyperparameter-based optimisation. Financial Engineering and Risk Management (2024) Vol. 7: 151-158. DOI: http://dx.doi.org/10.23977/ferm.2024.070519.

REFERENCES

[1] Bhardwaj., Swanson, N.R. (2006), An Empirical Investigation of the Usefulness of ARFIMA Models for Predicting Macroeconomic and Financial Time Series. Journal of Econometrics, 131 (1-2), 539-578;
[2] Kyoung-jae Kim,(2003) Financial time series forecasting using support vector machines,Neurocomputing,Volume 55, Issues 1–2,2003, Pages 307-319, ISSN 0925-2312
[3] Rosenblatt F. (1958) The perceptron: a probabilistic model for information storage and organization in the brain [. Psychological Review, 1958, 65:386-408.
[4] Hornik K, Stinchcombe M, White H. (1989) Multilayer feedforward networks are universalapproximators.Neural networks, 1989, 2(5):359-366.
[5] Lecun, Y., & Bottou, L. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11), 2278-2324.
[6] Krizhevsky, A., Sutskever, I., & Hinton, G. (2012). Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25(2).
[7] Hochreiter S, Schmidhuber J. (1997) Long Short-Term Memory[J]. Neural Computation, 19979(8):1735-1780.
[8] Feng Yuxu, Li Yumei.(2019) Research on the prediction model of CSI 300 index based on LSTM neural network[J]. Practice and Understanding of Mathematics, 2019, 49(07):308-315. 
[9] Cho K, Van Merriěnboer B, Gulcehre C, etc.(2014) Learning phrase representations using RNNencoder-decoder for statistical machine translation [J. arXiv preprint arXiv:1406.1078, 2014
[10] Liqiong Gu, Yunjie Wu, Jinhui Feng,(2020) GRU stock prediction model based on Attention mechanism[J]. Systems Engineering, 2020, 38(05):134-140.sed on Bayesian optimization," Intelligent Automation & Soft Computing, vol. 29, no.3, pp. 855–868, 2021
[11] Umang Gupta, Vandana Bhattacharjee, Partha Sarathi Bishmu,(2022) StockNet-GRU based stock index prediction, Expert Systems with Applications, Volme 207,2022,117986,ISSN 0957-4174, https:/idoi.org/10.1016f. eswa. 2022.117986. 

Downloads: 35758
Visits: 862432

All published work is licensed under a Creative Commons Attribution 4.0 International License.

Copyright © 2016 - 2031 Clausius Scientific Press Inc. All Rights Reserved.