Paper The following article is Open access

Choice of the Number of Hidden Layers for Back Propagation Neural Network Driven by Stock Price Data and Application to Price Prediction

and

Published under licence by IOP Publishing Ltd
, , Citation Peipei Zhang and Chuanhe Shen 2019 J. Phys.: Conf. Ser. 1302 022017 DOI 10.1088/1742-6596/1302/2/022017

1742-6596/1302/2/022017

Abstract

Since the stock market is dynamic and nonlinear, we adopt the neural network to forecast the stock price. We construct the single hidden layer prediction model firstly, and analyse the effect of prediction accuracy on neurons amount and epochs. To improve the prediction accuracy and operating rate, we then construct the multiple hidden layers prediction model, and provide some theory guide on setting the number of each hidden layer for neural network with multiple hidden layers. Finally, we make a choice of the number of hidden layers by analysing the effect of stock price prediction, and the empirical results obtained demonstrate that the prediction performance of two hidden layers prediction model is better than that of the single hidden layer prediction model. Additionally, the empirical results obtained also demonstrate that the more epochs of training network, the better the results obtained with using the same number of neurons.

Export citation and abstract BibTeX RIS

Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

Please wait… references are loading.