A Model for Stock Market Value Forecasting using Ensemble Artificial Neural Network

  • Kingsley Kelechi Ajoku Federal University of Technology, Owerri
  • O. C. Nwokonkwo Federal University of technology, Owerri
  • A. M. John-Otumu Federal University of Technology, Owerri
  • Chukwuemeka Philips Oleji Federal University of Technology, Owerri
Keywords: Artificial Neural Network, Ensemble, Forecast, Stock Market


Artificial Neural Network (ANN) is a model used in capturing linear and non-linear relationship of input and output data. Its usage has been predominant in the prediction and forecasting market time series. However, there has been low bias and high variance issues associated with ANN models such as the simple multi-layer perceptron model. This usually happens when training large dataset. The objective of this work was to develop an efficient forecasting model using Ensemble ANN to unravel the market mysteries for accurate decision on investment. This paper employed the Ensemble ANN modeling technique to tackle the high variations in stock market training dataset faced when using a simple multi-layer perceptron model by using the theory of ensemble averaging. The Ensemble ANN model was developed and implemented using NeurophStudio and Java programming language, then trained and tested using daily data of stock market prices from various banks, for a period of 497 days. The methodology adopted to achieve this task is the agile methodology. The output of the proposed predictive model was compared with four traditional neural network multilayer perceptron algorithms, and outperformed the traditional neural network multilayer perceptron algorithms. The proposed model gave an average to best predictive error for any day when compared with the other four traditional models.


Download data is not yet available.


A. S. Magaji and K. R. Adeboye “An intense Nigeria stock exchange market prediction using logistic with back-propagation ANN model,” Science World Journal, vol 9, no 2, 2014.

S. O. N. Agwuegbo, A. P Adewole, and A. N. Maduegbuna, “A random walk model for stock market prices,” Journal of Mathematics and Statistics, vol. 6, no. 3, pp. 342-346, 2010.

C. N. Sarat, “An adaptive second order neural network with genetic-algorithm- based training (ASONN-GA) to forecast the closing prices of the stock,” International Journal of Applied Metaheuristic Computing, vol. 7, no. 2, pp. 1- 19, 2016.

S. Surbhi, and K. Baijnath, “Quantitative analysis of stock market prediction for accurate investment decisions in future,” Journal of Artificial Intelligence, vol. 11, no. 1, pp. 48 -54, 2018.

I. Ozgur, and B. C. Taha, “Stock market prediction performance of neural networks: A literature review,” International Journal of Economics and Finance; Canadian Center of Science and Education, vol. 9, no. 11, pp. 100-108, 2017.

P. N. Mahdi, T. Hamidreza, and B. H. Hma, “Stock market value prediction using neural networks,” International Conference on Computer Information Systems and Industrial Management Applications, pp. 132-136, 2010.

T. A. N. Seyed, and H. Saeid, “Forecasting S&P 500 index using artificial neural networks and design of experiments,” Journal of Industrial Engineering International, vol. 9, no 1, pp. 1-9, 2013.

E. Hoseinzade, and S. Haratizadeh, “CNN-based stock market prediction using several data sources,” Expert Systems with Applications, vol. 129, pp. 273-285, 2019.

S. Neenwi, P. O. Asagba, and L. G. Kabari, “Predicting the Nigerian stock market using artificial neural network,” European Journal of Computer Science and Information, vol. 1, no. 1, pp. 30-39, 2013.

A. H. Moghaddam, M. H. Moghaddam, and M. Esfandyari, “Stock market index prediction using artificial neural network,” Journal of Economics, Finance and Administrative Science, vol. 21, no. 41, pp. 89-93, 2016.

M. Madhu, N. Yuvaraj, P. Indhumathi, and G. S. Priya, “Enhancing the accuracy of digit recognition using machine learning algorithms,” International Journal of Advance Research, Ideas and Innovations in Technology, vol. 5, no. 1, pp. 289-294, 2019.

Z. Khan, T. Alin, and M. Hussain, “Price prediction of share market using artificial neural network,” International Journal of Computer Applications, vol. 22, pp. 42-47, 2011.

K. Parmar, “Back-propagation algorithm: An introduction to learning internal representations by error propagation” presented to post graduate class, Department of Computer Science, University of Houston, Houston, Texas, USA, Jan. 17, 2016. [PowerPointslides]. Available: https://vdocument.in/back-propagation-algorithm-an-introduction-to-learning-internal-representations.html, accessed on: Jul. 11, 2021.

G. Brown, “Ensemble learning,” Encyclopedia of Machine Learning, vol. 312, pp. 15- 19, 2010.

S. Mittnik, N. Robinzonov, and M. Spindler, “Stock market volatility: identifying major drivers and the nature of their impact,” Journal of Banking and Finance, vol. 58, pp. 1-14, 2015.

S. S. Liew, M. Khalil-Hani, and R. Bakhteri, “An optimized second order stochastic learning algorithm for neural network training,” Neurocomputing, vol. 186, pp. 74-89, 2016.

A. Niculescu-Mizil, C. Perlich, G. Swirszcz, V. Sindhwani, Y. Liu, P. Melville, et al. “Winning the KDD cup orange challenge with ensemble selection,” Journal of Machine Learning Research - Proceedings Track, vol 7, pp. 23-34, 2009.

N. Selmi, S. Chaabene, and N. Hachicha, “Forecasting returns on a stock market using artificial neural networks and GARCH family models: evidence of stock market S&P 500,” Decision Science Letters, vol. 4, no. 2, pp. 203-210, 2015

A. V. Devados and A. A. Ligori, “Forecasting of stock prices using multilayer perceptron,” International Journal of Computing Algorithm, vol. 2, pp. 440 – 449, 2013.

How to Cite
Ajoku, K. K., Nwokonkwo, O. C., John-Otumu, A. M., & Oleji, C. P. (2021). A Model for Stock Market Value Forecasting using Ensemble Artificial Neural Network. Journal of Advances in Computing, Communications and Information Technology, 2, 1-13. https://doi.org/10.37121/jaccit.v2.162
Research Articles