scholarly journals A Stock Closing Price Prediction Model Based on CNN-BiSLSTM

Complexity ◽  
2021 ◽  
Vol 2021 ◽  
pp. 1-12
Author(s):  
Haiyao Wang ◽  
Jianxuan Wang ◽  
Lihui Cao ◽  
Yifan Li ◽  
Qiuhong Sun ◽  
...  

As the stock market is an important part of the national economy, more and more investors have begun to pay attention to the methods to improve the return on investment and effectively avoid certain risks. Many factors affect the trend of the stock market, and the relevant information has the nature of time series. This paper proposes a composite model CNN-BiSLSTM to predict the closing price of the stock. Bidirectional special long short-term memory (BiSLSTM) improved on bidirectional long short-term memory (BiLSTM) adds 1 − tanh(x) function in the output gate which makes the model better predict the stock price. The model extracts advanced features that influence stock price through convolutional neural network (CNN), and predicts the stock closing price through BiSLSTM after the data processed by CNN. To verify the effectiveness of the model, the historical data of the Shenzhen Component Index from July 1, 1991, to October 30, 2020, are used to train and test the CNN-BiSLSTM. CNN-BiSLSTM is compared with multilayer perceptron (MLP), recurrent neural network (RNN), long short-term memory (LSTM), BiLSTM, CNN-LSTM, and CNN-BiLSTM. The experimental results show that the mean absolute error (MAE), root-mean-squared error (RMSE), and R-square (R2) evaluation indicators of the CNN-BiSLSTM are all optimal. Therefore, CNN-BiSLSTM can accurately predict the closing price of the Shenzhen Component Index of the next trading day, which can be used as a reference for the majority of investors to effectively avoid certain risks.

2019 ◽  
Vol 8 (4) ◽  
pp. 3152-3158

With the digitization, the importance of content writing is being increased. This is due to the huge improvement in accessibility and the major impact of digital content on human beings. Due to veracity and huge demand for digital content, author profiling becomes a necessity to identify the correct person for particular content writing. This paper works on deep neural network models to identify the gender of author for any particular content. The analysis has been done on the corpus dataset by using artificial neural networks with different number of layers, long short term memory based Recurrent Neural Network (RNN), bidirectional long short term memory based RNN and attention-based RNN models using mean absolute error, root mean square error, accuracy, and loss as analysis parameters. The results of different epochs show the significance of each model.


2021 ◽  
Vol 10 (1) ◽  
Author(s):  
Sarah Dong ◽  
Amber Wang

Predicting stock prices has been both challenging and controversial. Since it first spread through the United States, the COVID-19 pandemic has impacted the stock market in a multitude of ways. Thus, stock price prediction has become even more challenging. Recurrent neural networks (RNN) have been widely used in many fields to predict financial time series. In this study, Long Short-Term Memory (LSTM), a special form of RNN, is used to predict the stock market direction for the US airline industry by using NYSE Arca Airline Index (XAL). The LSTM model was optimized through changing different hyperparameters of the model architecture to find the best combination for increased accuracy and performance evaluated by several metrics, including raw RMSE (3.51) and MAPA (4.6%), and very high MAPA (95.4%) and R^2 (0.978).


2020 ◽  
Vol 10 (21) ◽  
pp. 7880
Author(s):  
Daniel Jerouschek ◽  
Ömer Tan ◽  
Ralph Kennel ◽  
Ahmet Taskiran

Voltage models of lithium-ion batteries (LIB) are used to estimate their future voltages, based on the assumption of a specific current profile, in order to ensure that the LIB remains in a safe operation mode. Data of measurable physical features—current, voltage and temperature—are processed using both over- and undersampling methods, in order to obtain evenly distributed and, therefore, appropriate data to train the model. The trained recurrent neural network (RNN) consists of two long short-term memory (LSTM) layers and one dense layer. Validation measurements over a wide power and temperature range are carried out on a test bench, resulting in a mean absolute error (MAE) of 0.43 V and a mean squared error (MSE) of 0.40 V2. The raw data and modeling process can be carried out without any prior knowledge of LIBs or the tested battery. Due to the challenges involved in modeling the state-of-charge (SOC), measurements are used directly to model the behavior without taking the SOC estimation as an input feature or calculating it in an intermediate step.


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.


Forests ◽  
2021 ◽  
Vol 12 (4) ◽  
pp. 428
Author(s):  
Dercilio Junior Verly Lopes ◽  
Gabrielly dos Santos Bobadilha ◽  
Amanda Peres Vieira Bedette

This manuscript confirms the feasibility of using a long short-term memory (LSTM) recurrent neural network (RNN) to forecast lumber stock prices during the great and Coronavirus disease 2019 (COVID-19) pandemic recessions in the USA. The database was composed of 5012 data entries divided into recession periods. We applied a timeseries cross-validation that divided the dataset into an 80:20 training/validation ratio. The network contained five LSTM layers with 50 units each followed by a dense output layer. We evaluated the performance of the network via mean squared error (MSE), root mean squared error (RMSE), and mean absolute error (MAE) for 30, 60, and 120 timesteps and the recession periods. The metrics results indicated that the network was able to capture the trend for both recession periods with a remarkably low degree of error. Timeseries forecasting may help the forest and forest product industries to manage their inventory, transportation costs, and response readiness to critical economic events.


In the stock market, it is important to have accurate prediction of future behavior of stock price..Because of the great chance of financial loss as well as scoring profits at the same time, it is mandatory to have a secure prediction of the values of the stocks. But when it comes to predicting the value of a stock in future we tend to follow stock market experts but as technology is progressing we may use these technologies rather than following human experts who may be biased many times. Stock price prediction has been interesting area for investors and researchers. This article proposes an approach towards prediction of stock price using machine learning model Long Short Term Memory. This is an ensemble learning method that has been an exceedingly successful model for predicting sequence of numbers and words. Long Short Term Memory is a machine learning model for prediction. This technique is used to forecast the future stock price of a specific stock by using historical data of the stock gathered from Yahoo! Finance.


Sign in / Sign up

Export Citation Format

Share Document