Abstract
Machine learning is considered a powerful technique in many applications such as classification, clustering, recognition and prediction. Deep learning is a modern, vital and superior machine learning that gives stunning performance, especially with huge data. Stock market price prediction is the process of determining the future value of a prospect of a financial instrument traded in the market, to gain a great profit a successful prediction must be conducted, in order to achieve that machine learning is used, in this article, two approaches are proposed to predict the stock market prices and movement using two datasets, the first approach employs two machine learning models (J48 & logistic regression) while the second approach based on recurrent neural network (proposed long short term memory (LSTM) model). The proposed LSTM architecture is designed and trained with inefficient optimizer, tuned hyperparameters and a good choice dropout ratio to avoid overfitting. The aim of this article is to conduct an experimental comparison between the classical machine learning approach (J48 & logistic regression) and deep learning represented by LSTM. The experimental results show that the proposed approach of LSTM outperforms other approaches with the two datasets in predicting the price and movement of the stock market.
Keywords
Stock market prediction, Machine learning, Deep learning, Recurrent neural network, LSTM, J48, Logistic regression
Subject Area
Computer Science
First Page
297
Last Page
309
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
Receive Date
10-24-2023
Revise Date
3-23-2024
Accept Date
3-25-2024
How to Cite this Article
Abdullah, Hasanen S.; Ali, Nada Hussain; Jassim, Ammar Hussein; and Hussain, Syed Hamid
(2025)
"An Analytical Comparison of the Behavior of Machine Learning and Deep Learning in Stock Market Prediction,"
Baghdad Science Journal: Vol. 22:
Iss.
1, Article 26.
DOI: 10.21123/bsj.2024.10017
Available at:
https://bsj.researchcommons.org/home/vol22/iss1/26