Neural Nets for Stock Indices: Investigating Effect of Change in Hyperparameters
- 1 Department of Management, Netaji Subhash University of Technology (Formerly Netaji Subhash Institute of Technology) Sector 3, Dwarka, New Delhi, India
- 2 School of Management and Business Studies, Jamia Hamdard University, Hamdard Nagar, New Delhi, Delhi, India
Abstract
Artificial neural networks have seen an outburst of interest in past decade. There has been an increasing use of ANNs in prediction based studies owing to their huge performance accuracy. They have been successfully applied across various domains like medicine, geology, finance, physics, engineering etc. The system of neural nets witnesses rise in complexity with increase in number of layers and number of neurons and possesses the capacity to solve intricate problems. The researchers, world over, consider the neural network with three layers (input, hidden and output) a universal approximator of functions as it has given outstanding results in data validation, price forecasting, sales forecasting, customer research etc. over the years. In most of the previous studies, either a standard ANN model has been taken or a default model has been tested using various softwares. But as we understand, a lot of hit and trial should be done by altering the hyperparameters to get the best performance model. In our study we attempt to prove the same point and try to find the best model for our data set wherein we predict the BSE sensex closing price of the next day using previous day data (high price, low price, open price, close price and trade volume). We use deep neural networks with backpropagation and have altered the hyperparameters: number of nodes in hidden layers, the activation function of hidden layers, Number of epochs, the batch size and hence the iterations in each epoch. The model performance was measured with the help of root mean square error on test set of the model. We are able to bring out the differences of tuning of hyperparameter and ultimately find the best predictor model for BSE sensex close value.
- Kimoto, T., Asakawa, K., Yoda, M. and Takeoka, M. (1990) Stock Market Prediction System with Modular Neural Networks. 1990 IJCNN International Joint Conference on Neural Networks, San Diego, 17-21 June 1990. https://doi.org/10.1109/IJCNN.1990.137535
- Ghiassi, M. and Saidane, H. (2005) A Dynamic Architecture for Artificial Neural Networks. Neurocomputing, 63, 397-413. https://doi.org/10.1016/j.neucom.2004.03.014
- Ghiassi, M., Saidane, H. and Zimbra, D.K. (2005) A Dynamic Artificial Neural Network Model for Forecasting Time Series Events. International Journal of Forecasting, 21, 341-362. https://doi.org/10.1016/j.ijforecast.2004.10.008
- Chang, P.-C., Liu, C.-H., Lin, J.-L., Fan, C.-Y. and Ng, C.S.P. (2009) A Neural Network with a Case Based Dynamic Window for Stock Trading Prediction. Expert Systems with Applications, 36, 6889-6898. https://doi.org/10.1016/j.eswa.2008.08.077
- Hamzacebi, C., Akay, D. and Kutay, F. (2009) Comparison of Direct and Iterative Artificial Neural Network Forecast Approaches in Multi-Periodic Time Series Forecasting. Expert Systems with Applications, 36, 3839-3844. https://doi.org/10.1016/j.eswa.2008.02.042
- Cheng, J., Chen, H. and Lin, Y. (2010) A Hybrid Forecast Marketing Timing Model Based on Probabilistic Neural Network, Rough Set and C4. 5. Expert Systems with Applications, 37, 1814-1820. https://doi.org/10.1016/j.eswa.2009.07.019
- Liao, Z. and Wang, J. (2010) Forecasting Model of Global Stock Index by Stochastic Time Effective Neural Network. Expert Systems with Applications, 37, 834-841. https://doi.org/10.1016/j.eswa.2009.05.086
- Guresen, E., Kayakutlu, G. and Daim, T.U. (2011) Using Artificial Neural Network Models in Stock Market Index Prediction. Expert Systems with Applications, 38, 10389-10397. https://doi.org/10.1016/j.eswa.2011.02.068
- Moghaddam, A.H., Moghaddam, M.H. and Esfandyari, M. (2016) Stock Market Index Prediction Using Artificial Neural Network. Journal of Economics, Finance and Administrative Science, 21, 89-93. https://doi.org/10.1016/j.jefas.2016.07.002