Enhancing Stock Price Prediction Using Mutual Information, PCA, and LSTM: A Deep Learning Approach

Zinah Kareem Mansoor1,*, Ali Yakoob Al-Sultan1

1Department of Computer, College of Science for Women, University of Babylon, Babylon, Iraq

Emails: scw734.zynh.kareem@student.uobablyon.edu.iq; ali.alsultan@uobabylon.edu.iq


Abstract

The stock price exhibits quick and extremely nonlinear fluctuations in the financial market. A prominent worry among scholars and investors is the correct prediction of short-term stock prices and the corresponding upward and downward trends. Financial organizations have successfully incorporated machine learning and deep learning techniques to anticipate time series data accurately. Nevertheless, the precision of these models' predictions still needs improvement. Most current studies employ single prediction algorithms that cannot overcome intrinsic limitations. This paper proposes a methodology that utilizes the MUTUAL, principal component analysis (PCA), and Long Short-Term Memory (LSTM) model to accurately simulate and predict the variations in stock prices. The technology is utilized for the three global stock market datasets: TSLA, S&P500, and NASDAQ. The highest level of improvement achieved is a correlation of 99%. Furthermore, there is a reduction in error for the metrics MSE, MAPE, and RMSE, with improvements of 0.0001, 0.009, and 0.01 correspondingly.

Keywords: PCA; LSTM; Deep learning; Stock Market Prediction, Deep Learning, Neural Networks, Sentiment Analysis, Financial Markets, Trading Strategies