Deep Learning-Based Enhanced Predictive Modeling for Stock Price
摘要
The prediction of financial markets using deep learning has attracted the attention of both investors and researchers. Deep learning methods, such as convolutional neural networks and recurrent neural networks, work well at predicting stock indices based on the non-linear characteristics of stock markets. The goal of this work is to predict the stock index using the latest deep learning framework, Transformer. This paper presents a comprehensive analysis of stock closing price prediction using three distinct machine learning models: Long-Short-Term Memory (LSTM), Generative Adversarial Network (GAN), and Transformer. Using the encoder-decoder architecture and the multihead attention mechanism, Transformer is able to better characterize stock market dynamics. The present study uses data from Yahoo Finance. The Transformer model demonstrated superior performance compared to LSTM and GAN. In this work, we handle the complexities of market dynamics to improve stock price predictions.