1. An improved long short-term memory neural network for stock forecast
- Author
-
Lv Liujia, Kong Weijian, Qi Jie, and Zhang Jue
- Subjects
Engineering (General). Civil engineering (General) ,TA1-2040 - Abstract
This paper presents an improved long short-term memory (LSTM) neural network based on particle swarm optimization (PSO), which is applied to predict the closing price of the stock. PSO is introduced to optimize the weights of the LSTM neural network, which reduces the prediction error. After preprocessing the historical data of the stock, including opening price, closing price, highest price, lowest price, and daily volume these five attributes, we train the LSTM by employing time series of the historical data. Finally, we apply the proposed LSTM to predict the closing price of the stock in the last two years. Compared with typical algorithms by simulation, we find the LSTM has better performance in reliability and adaptability, and the improved PSO-LSTM algorithm has better accuracy.
- Published
- 2018
- Full Text
- View/download PDF