Enhancing stock index prediction: A hybrid LSTM-PSO model for improved forecasting accuracy.

Journal: PloS one
PMID:

Abstract

Stock price prediction is a challenging research domain. The long short-term memory neural network (LSTM) widely employed in stock price prediction due to its ability to address long-term dependence and transmission of historical time signals in time series data. However, manual tuning of LSTM parameters significantly impacts model performance. PSO-LSTM model leveraging PSO's efficient swarm intelligence and strong optimization capabilities is proposed in this article. The experimental results on six global stock indices demonstrate that PSO-LSTM effectively fits real data, achieving high prediction accuracy. Moreover, increasing PSO iterations lead to gradual loss reduction, which indicates PSO-LSTM's good convergence. Comparative analysis with seven other machine learning algorithms confirms the superior performance of PSO-LSTM. Furthermore, the impact of different retrospective periods on prediction accuracy and finding consistent results across varying time spans are. Conducted in the experiments.

Authors

  • Xiaohua Zeng
    School of Economics and Trade, Guangzhou Xinhua University, Dongguan, China.
  • Changzhou Liang
    School of Economics and Trade, Guangzhou Xinhua University, Dongguan, China.
  • Qian Yang
    Center for Advanced Scientific Instrumentation, University of Wyoming, Laramie, WY, United States.
  • Fei Wang
    Department of Population Health Sciences, Weill Cornell Medicine, Cornell University, New York, NY, United States.
  • Jieping Cai
    School of Economics and Trade, Guangzhou Xinhua University, Dongguan, China.