scholarly journals An improved long short-term memory neural network for stock forecast

2018 ◽  
Vol 232 ◽  
pp. 01024
Author(s):  
Liujia Lv ◽  
Weijian Kong ◽  
Jie Qi ◽  
Jue Zhang

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.

2021 ◽  
pp. 1-17
Author(s):  
Shengwei Wang ◽  
Ping Li ◽  
Hao Ji ◽  
Yulin Zhan ◽  
Honghong Li

Intelligent algorithms using deep learning can help learn feature data with nonlinearity and uncertainty, such as time-series particle concentration data. This paper proposes an improved particle swarm optimization (IPSO) algorithm using nonlinear decreasing weights to optimize the hyperparameters, such as the number of hidden layer neurons, learning rate, and maximum number of iterations of the long short-term memory (LSTM) neural network, to predict the time series for air particulate concentration and capture its data dependence. The IPSO algorithm uses nonlinear decreasing weights to make the inertia weights nonlinearly decreasing during the iteration process to improve the convergence speed and capability of finding the global optimization of the PSO. This study addresses the limitations of the traditional method and exhibits accurate predictions. The results of the improved algorithm reveal that the root means square, mean absolute percentage error, and mean absolute error of the IPSO-LSTM model predicted changes in six particle concentrations, which decreased by 1.59% to 5.35%, 0.25% to 3.82%, 7.82% to 13.65%, 0.7% to 3.62%, 0.01% to 3.55%, and 1.06% to 17.21%, respectively, compared with the LSTM and PSO-LSTM models. The IPSO-LSTM prediction model has higher accuracy than the other models, and its accurate prediction model is suitable for regional air quality management and effective control of the adverse effects of air pollution.


2021 ◽  
Vol 42 (18) ◽  
pp. 6921-6944
Author(s):  
Yi Chen ◽  
Yi He ◽  
Lifeng Zhang ◽  
Youdong Chen ◽  
Hongyu Pu ◽  
...  

2018 ◽  
Vol 7 (4.15) ◽  
pp. 25 ◽  
Author(s):  
Said Jadid Abdulkadir ◽  
Hitham Alhussian ◽  
Muhammad Nazmi ◽  
Asim A Elsheikh

Forecasting time-series data are imperative especially when planning is required through modelling using uncertain knowledge of future events. Recurrent neural network models have been applied in the industry and outperform standard artificial neural networks in forecasting, but fail in long term time-series forecasting due to the vanishing gradient problem. This study offers a robust solution that can be implemented for long-term forecasting using a special architecture of recurrent neural network known as Long Short Term Memory (LSTM) model to overcome the vanishing gradient problem. LSTM is specially designed to avoid the long-term dependency problem as their default behavior. Empirical analysis is performed using quantitative forecasting metrics and comparative model performance on the forecasted outputs. An evaluation analysis is performed to validate that the LSTM model provides better forecasted outputs on Standard & Poor’s 500 Index (S&P 500) in terms of error metrics as compared to other forecasting models.  


2021 ◽  
Vol 11 (1) ◽  
Author(s):  
Sujan Ghimire ◽  
Zaher Mundher Yaseen ◽  
Aitazaz A. Farooque ◽  
Ravinesh C. Deo ◽  
Ji Zhang ◽  
...  

AbstractStreamflow (Qflow) prediction is one of the essential steps for the reliable and robust water resources planning and management. It is highly vital for hydropower operation, agricultural planning, and flood control. In this study, the convolution neural network (CNN) and Long-Short-term Memory network (LSTM) are combined to make a new integrated model called CNN-LSTM to predict the hourly Qflow (short-term) at Brisbane River and Teewah Creek, Australia. The CNN layers were used to extract the features of Qflow time-series, while the LSTM networks use these features from CNN for Qflow time series prediction. The proposed CNN-LSTM model is benchmarked against the standalone model CNN, LSTM, and Deep Neural Network models and several conventional artificial intelligence (AI) models. Qflow prediction is conducted for different time intervals with the length of 1-Week, 2-Weeks, 4-Weeks, and 9-Months, respectively. With the help of different performance metrics and graphical analysis visualization, the experimental results reveal that with small residual error between the actual and predicted Qflow, the CNN-LSTM model outperforms all the benchmarked conventional AI models as well as ensemble models for all the time intervals. With 84% of Qflow prediction error below the range of 0.05 m3 s−1, CNN-LSTM demonstrates a better performance compared to 80% and 66% for LSTM and DNN, respectively. In summary, the results reveal that the proposed CNN-LSTM model based on the novel framework yields more accurate predictions. Thus, CNN-LSTM has significant practical value in Qflow prediction.


Landslides ◽  
2019 ◽  
Vol 16 (4) ◽  
pp. 677-694 ◽  
Author(s):  
Beibei Yang ◽  
Kunlong Yin ◽  
Suzanne Lacasse ◽  
Zhongqiang Liu

Symmetry ◽  
2020 ◽  
Vol 12 (12) ◽  
pp. 2045
Author(s):  
Xijie Xu ◽  
Xiaoping Rui ◽  
Yonglei Fan ◽  
Tian Yu ◽  
Yiwen Ju

Owing to the importance of coalbed methane (CBM) as a source of energy, it is necessary to predict its future production. However, the production process of CBM is the result of the interaction of many factors, making it difficult to perform accurate simulations through mathematical models. We must therefore rely on the historical data of CBM production to understand its inherent features and predict its future performance. The objective of this paper is to establish a deep learning prediction method for coalbed methane production without considering complex geological factors. In this paper, we propose a multivariate long short-term memory neural network (M-LSTM NN) model to predict CBM production. We tested the performance of this model using the production data of CBM wells in the Panhe Demonstration Area in the Qinshui Basin of China. The production of different CBM wells has similar characteristics in time. We can use the symmetric similarity of the data to transfer the model to the production forecasting of different CBM wells. Our results demonstrate that the M-LSTM NN model, utilizing the historical yield data of CBM as well as other auxiliary information such as casing pressures, water production levels, and bottom hole temperatures (including the highest and lowest temperatures), can predict CBM production successfully while obtaining a mean absolute percentage error (MAPE) of 0.91%. This is an improvement when compared with the traditional LSTM NN model, which has an MAPE of 1.14%. In addition to this, we conducted multi-step predictions at a daily and monthly scale and obtained similar results. It should be noted that with an increase in time lag, the prediction performance became less accurate. At the daily level, the MAPE value increased from 0.24% to 2.09% over 10 successive days. The predictions on the monthly scale also saw an increase in the MAPE value from 2.68% to 5.95% over three months. This tendency suggests that long-term forecasts are more difficult than short-term ones, and more historical data are required to produce more accurate results.


Sign in / Sign up

Export Citation Format

Share Document