University of Bahrain
Scientific Journals

Stock Price Prediction: Evaluating The Efficacy Of CNN, LSTM, CNN-LSTM, and CNN-BILSTM Models

Show simple item record

dc.contributor.author Seun, Ebiesuwa
dc.contributor.author Olawunmi Asake, Adebanjo
dc.date.accessioned 2024-05-20T17:11:38Z
dc.date.available 2024-05-20T17:11:38Z
dc.date.issued 2024-05-20
dc.identifier.issn 2210-142X
dc.identifier.uri https://journal.uob.edu.bh:443/handle/123456789/5693
dc.description.abstract The stock market's dynamism and complexity make predicting accurate prices a daunting task for investors and analysts. Traditional statistical models struggle with this due to hidden non-linear relationships and time-dependent patterns in financial data. This sparks a rising interest in harnessing the power of machine learning, particularly neural networks, for improved stock price forecasting.This study uses four neural network models - CNN, LSTM, CNN-LSTM, and CNN-BILSTM to predict stock prices. Their performance is evaluated through four metrics: Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), R-squared (R²), and Mean Absolute Percentage Error (MAPE). The US stock price dataset from 1998-2021 was used, the dataset was obtained from Kaggle and was preprocessed by normalizing and scaling. Python was used to train the models, the study then compares the hybrid models (CNN-LSTM and CNN-BILSTM) to their standalone counterparts, aiming to reveal their potential superiority in terms of prediction accuracy and error minimization.Analysis revealed that the hybrid models, particularly CNN-LSTM with its attention mechanism, outperformed their standalone counterparts in predicting stock prices and minimizing errors. CNN-BiLSTM followed closely, demonstrating strong performance as well. While CNN exhibited the lowest RMSE and MAE, its high MAPE suggests limited predictive power. This may be due to CNN's focus on feature extraction rather than temporal dependencies, highlighting the effectiveness of hybrid models in capturing complex market dynamics. en_US
dc.language.iso en en_US
dc.publisher University of Bahrain en_US
dc.subject Stockprice, CNN, LSTM, BiLSTM en_US
dc.title Stock Price Prediction: Evaluating The Efficacy Of CNN, LSTM, CNN-LSTM, and CNN-BILSTM Models en_US
dc.identifier.doi http://dx.doi.org/10.12785/ijcds/XXXXXX
dc.volume 16 en_US
dc.issue 1 en_US
dc.pagestart 1 en_US
dc.pageend 10 en_US
dc.contributor.authorcountry Nigeria en_US
dc.contributor.authorcountry Nigeria en_US
dc.contributor.authoraffiliation Department of Computer science, Babcock university en_US
dc.contributor.authoraffiliation Department of Software Engineering, Babcock university en_US
dc.source.title International Journal of Computing and Digital Systems en_US
dc.abbreviatedsourcetitle IJCDS en_US


Files in this item

This item appears in the following Issue(s)

Show simple item record

All Journals


Advanced Search

Browse

Administrator Account