Abstract
Stock prediction is prominent in the field of Artificial Intelligence. Stock prediction problems are handled either as a regression or classification task. Studies in the literature have also shown success for hybrid learning to stock prediction. But little attention is paid to finding out the effect of spatial feature extraction/distortion over the temporal effect of the deep neural network and vice versa for the problem under study. The paper, therefore, proposes a hybrid long short-term memory (LSTM) network over a convolutional neural network (CNN) called LSTM-CNN as against the popular CNN-LSTM model. The daily price movement of the S & P 500 index data is utilized. A sliding window technique is considered to obtain a balanced data of 20-days window data from the S & P 500. The proposed stock prediction model is investigated further for an optimal set of hyperparameters using the Bayesian optimization (Bo) technique. In addition, the proposed model is compared with optimized CNN, LSTM, and CNN-LTSM models. The optimized LSTM-CNN model is found to outperform the other models with accuracy, precision, and recall values of 0.9741, 0.9684, and 0.9800, respectively. The proposed model is established to provide a better stock trend prediction.
Keywords
Cite this article
@article{cai-6427,
author = {Bey Kun Chan and Olanrewaju Victor Johnson and XinYing Chew and Khai Wah Khaw and Ming Ha Lee and Alhamzah Alnoor},
title = {Proposed Bayesian Optimization Based LSTM-CNN Model for Stock Trend Prediction},
journal = {Computing and Informatics},
volume = {43},
number = {1},
pages = {38--63},
year = {2024},
issn = {1335-9150},
doi = {10.31577/cai_2024_1_38}
}
TY - JOUR AU - Bey Kun Chan AU - Olanrewaju Victor Johnson AU - XinYing Chew AU - Khai Wah Khaw AU - Ming Ha Lee AU - Alhamzah Alnoor TI - Proposed Bayesian Optimization Based LSTM-CNN Model for Stock Trend Prediction JO - Computing and Informatics VL - 43 IS - 1 SP - 38 EP - 63 PY - 2024 SN - 1335-9150 DO - 10.31577/cai_2024_1_38 UR - https://doi.org/10.31577/cai_2024_1_38 KW - Stock management KW - hybrid learning KW - deep learning KW - optimization KW - prediction ER -
Chan, B. K., Johnson, O. V., Chew, X., Khaw, K. W., Lee, M. H., & Alnoor, A. (2024). Proposed Bayesian Optimization Based LSTM-CNN Model for Stock Trend Prediction. Computing and Informatics, 43(1), 38–63. https://doi.org/10.31577/cai_2024_1_38