Clustering-enhanced stock price prediction using deep learning

Man Li*, Ye Zhu, Yuxin Shen, Maia Angelova

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

In recent years, artificial intelligence technologies have been successfully applied in time series prediction and analytic tasks. At the same time, a lot of attention has been paid to financial time series prediction, which targets the development of novel deep learning models or optimize the forecasting results. To optimize the accuracy of stock price prediction, in this paper, we propose a clustering-enhanced deep learning framework to predict stock prices with three matured deep learning forecasting models, such as Long Short-Term Memory (LSTM), Recurrent Neural Network (RNN) and Gated Recurrent Unit (GRU). The proposed framework considers the clustering as the forecasting pre-processing, which can improve the quality of the training models. To achieve the effective clustering, we propose a new similarity measure, called Logistic Weighted Dynamic Time Warping (LWDTW), by extending a Weighted Dynamic Time Warping (WDTW) method to capture the relative importance of return observations when calculating distance matrices. Especially, based on the empirical distributions of stock returns, the cost weight function of WDTW is modified with logistic probability density distribution function. In addition, we further implement the clustering-based forecasting framework with the above three deep learning models. Finally, extensive experiments on daily US stock price data sets show that our framework has achieved excellent forecasting performance with overall best results for the combination of Logistic WDTW clustering and LSTM model using 5 different evaluation metrics.

Original languageEnglish
Pages (from-to)207-232
Number of pages26
JournalWorld Wide Web
Volume26
Issue number1
Early online date14 Apr 2022
DOIs
Publication statusPublished - Jan 2023

Keywords

  • Clustering-enhanced deep learning
  • Financial data analytics
  • Stock prediction

Fingerprint

Dive into the research topics of 'Clustering-enhanced stock price prediction using deep learning'. Together they form a unique fingerprint.

Cite this