Skip to main content

Advertisement

Log in

Pearson Correlation Coefficient-based performance enhancement of Vanilla Neural Network for stock trend prediction

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

The prediction of a volatile stock market is a challenging task. While various neural networks are integrated to address stock trend prediction problems, the weight initialization of such networks plays a crucial role. In this article, we adopt feed-forward Vanilla Neural Network (VNN) and propose a novel application of Pearson Correlation Coefficient (PCC) for weight initialization of VNN model. VNN consists of an input layer, a single hidden layer, and an output layer; the edges connecting neurons in the input layer and the hidden layer are generally initialized with random weights. While PCC is primarily used to find the correlation between two variables, we propose to apply PCC for weight initialization instead of random initialization (RI) for a VNN model to enhance the prediction performance. We also introduce the application of Absolute PCC (APCC) for weight initialization and analyze the effects of RI, PCC, and APCC values as weights for a VNN model. We conduct an empirical study using these concepts to predict the stock trend and evaluate these three weight initialization techniques on ten years of stock trading archival data of Reliance Industries, Infosys Ltd, HDFC Bank, and Dr. Reddy’s Laboratories for the duration of years 2008 to 2017 for continuous as well as discrete data representations. We further evaluate the applicability of these weight initialization techniques using an ablation study on the considered features and analyze the prediction performance. The results demonstrate that the proposed weight initialization techniques, PCC and APCC, provide higher or comparable results as compared to RI, and the statistical significance of the same is carried out.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Explore related subjects

Discover the latest articles and news from researchers in related subjects, suggested using machine learning.

References

  1. Thakkar A, Chaudhari K (2020) A comprehensive survey on portfolio optimization, stock price and trend prediction using particle swarm optimization. Archiv Comput Methods Eng 28:1–32

    MathSciNet  Google Scholar 

  2. Schumaker RP, Chen H (2009) Textual analysis of stock market prediction using breaking financial news: the AZFin text system. ACM Trans Inf Syst (TOIS) 27(2):12

    Article  Google Scholar 

  3. Thakkar A, Chaudhari K (2020) CREST: cross-reference to exchange-based stock trend prediction using long short-term memory. Procedia Comput Sci 167:616

    Article  Google Scholar 

  4. Ni LP, Ni ZW, Gao YZ (2011) Stock trend prediction based on fractal feature selection and support vector machine. Expert Syst Appl 38(5):5569

    Article  Google Scholar 

  5. Zhang G, Patuwo BE, Hu MY (1998) Forecasting with artificial neural networks: the state of the art. Int J Forecast 14(1):35

    Article  Google Scholar 

  6. Yoo PD, Kim MH, Jan T (2005) Financial forecasting: advanced machine learning techniques in stock market analysis. In: 2005 Pakistan Section Multitopic Conference, 2005, pp 1–7. https://doi.org/10.1109/INMIC.2005.334420

  7. Chang PC, Liu CH, Lin JL, Fan CY, Ng CS (2009) A neural network with a case based dynamic window for stock trading prediction. Expert Syst Appl 36(3):6889

    Article  Google Scholar 

  8. Tsai CF, Chiou YJ (2009) Earnings management prediction: a pilot study of combining neural networks and decision trees. Expert Syst Appl 36(3):7183

    Article  Google Scholar 

  9. de Oliveira FA, Zárate LE, de Azevedo Reis M, Nobre CN (2011) The use of artificial neural networks in the analysis and prediction of stock prices. In: 2011 IEEE international conference on (IEEE) systems, man, and cybernetics (SMC), pp 2151–2155

  10. Cai X, Lai G, Lin X (2013) Forecasting large scale conditional volatility and covariance using neural network on GPU. J Supercomput 63(2):490

    Article  Google Scholar 

  11. Guresen E, Kayakutlu G, Daim TU (2011) Using artificial neural network models in stock market index prediction. Expert Syst Appl 38(8):10389

    Article  Google Scholar 

  12. Thakkar A, Lohiya R (2020) A review on machine learning and deep learning perspectives of IDS for IoT: recent updates, security issues, and challenges. Archiv Comput Methods Eng 28:1–33

    Google Scholar 

  13. Pareek P, Thakkar A (2020) A survey on video-based human action recognition: recent updates, datasets, challenges, and applications. Artif Intell Rev 54:1–64

    Google Scholar 

  14. Thakkar A, Mungra D, Agrawal A (2020) Sentiment analysis: an empirical comparison between various training algorithms for artificial neural network. Int J Innov Comput Appl 11(1):9

    Article  Google Scholar 

  15. Mungra D, Agrawal A, Thakkar A (2020) A voting-based sentiment classification model. In: Intelligent communication, control and devices. Springer, pp 551–558

  16. Chaudhari K, Thakkar A (2020) A comprehensive survey on travel recommender systems. Archiv Comput Methods Eng 27:1545–1571

    Article  Google Scholar 

  17. Chaudhari K, Thakkar A (2019) Survey on handwriting-based personality trait identification. Expert Syst Appl 124:282

    Article  Google Scholar 

  18. Sharma R, Rajvaidya H, Pareek P, Thakkar A (2019) A comparative study of machine learning techniques for emotion recognition. In: Emerging research in computing. information, communication and applications. Springer, 906, pp 459–464

  19. Thakkar A, Jivani N, Padasumbiya J, Patel CI (2013) A new hybrid method for face recognition. In: 2013 Nirma University international conference on engineering (NUiCONE). IEEE, pp 1–9

  20. Patel R, Patel CI, Thakkar A (2012) Aggregate features approach for texture analysis. In: 2012 Nirma University international conference on engineering (NUiCONE). IEEE, pp 1–5

  21. Tsai CF, Hsiao YC (2010) Combining multiple feature selection methods for stock prediction: union, intersection, and multi-intersection approaches. Decis Support Syst 50(1):258

    Article  Google Scholar 

  22. Ray R, Khandelwal P, Baranidharan B (2018) A survey on stock market prediction using artificial intelligence techniques. In: 2018 International conference on smart systems and inventive technology (ICSSIT). IEEE, pp 594–598

  23. Ryll L, Seidens S (2019) Evaluating the performance of machine learning algorithms in financial market forecasting: a comprehensive survey. arXiv:1906.07786

  24. Abiodun OI, Jantan A, Omolara AE, Dada KV, Mohamed NA, Arshad H (2018) State-of-the-art in artificial neural network applications: a survey. Heliyon 4(11):e00938

    Article  Google Scholar 

  25. Nguyen D (1990) Improving the learning speed of 2-layer neural networks by choosing initial values of the adaptive weights. In: Proceedings of the international joint conference on neural networks, vol. 3. pp 21–26

  26. Drago GP, Ridella S (1992) Statistically controlled activation weight initialization (SCAWI). IEEE Trans Neural Netw 3(4):627

    Article  Google Scholar 

  27. Enke D, Thawornwong S (2005) The use of data mining and neural networks for forecasting stock market returns. Expert Syst Appl 29(4):927

    Article  Google Scholar 

  28. Castillo E, Guijarro-Berdiñas B, Fontenla-Romero O, Alonso-Betanzos A (2006) A very fast learning method for neural networks based on sensitivity analysis. J Mach Learn Res 7(Jul):1159

    MathSciNet  MATH  Google Scholar 

  29. Mingyue Q, Cheng L, Yu S (2016) Application of the artifical neural network in predicting the direction of stock market index. In: 2016 10th international conference on complex, intelligent, and software intensive systems (CISIS). IEEE, pp 219–223

  30. Qiu M, Song Y (2016) Predicting the direction of stock market index movement using an optimized artificial neural network model. PLoS ONE 11(5):e0155133

    Article  Google Scholar 

  31. Wang H (2018) A study on the stock market prediction based on genetic neural network. In: Proceedings of the 2018 international conference on information hiding and image processing, pp 105–108

  32. Kim KJ, Han I (2000) Genetic algorithms approach to feature discretization in artificial neural networks for the prediction of stock price index. Expert Syst Appl 19(2):125

    Article  Google Scholar 

  33. Abraham A, Nath B, Mahanti PK (2001) Hybrid intelligent systems for stock market analysis. In: International conference on computational science. Springer, pp 337–345

  34. Hadavandi E, Shavandi H, Ghanbari A (2010) Integration of genetic fuzzy systems and artificial neural networks for stock price forecasting. Knowl Based Syst 23(8):800

    Article  Google Scholar 

  35. Csáji BC et al (2001) Approximation with artificial neural networks. Faculty of Sciences, Etvs Lornd University, Hungary 24(48):7

  36. Kara Y, Boyacioglu MA, Baykan ÖK (2011) Predicting direction of stock price index movement using artificial neural networks and support vector machines: the sample of the Istanbul Stock Exchange. Expert Syst Appl 38(5):5311

    Article  Google Scholar 

  37. Chorowski J, Zurada JM (2015) Learning understandable neural networks with nonnegative weight constraints. IEEE Trans Neural Netw Learn Syst 26(1):62

    Article  MathSciNet  Google Scholar 

  38. Thakkar A, Lohiya R (2020) Attack classification using feature selection techniques: a comparative study. J Ambient Intell Humaniz Comput 12:1–18

    Google Scholar 

  39. Benesty J, Chen J, Huang Y, Cohen I (2009) Pearson correlation coefficient. In: Noise reduction in speech processing. Springer, pp 1–4

  40. Patel J, Shah S, Thakkar P, Kotecha K (2015) Predicting stock and stock price index movement using trend deterministic data preparation and machine learning techniques. Expert Syst Appl 42(1):259

    Article  Google Scholar 

  41. NSE (1992) NSE-National Stock Exchange of India Ltd., NSE-National Stock Exchange of India Ltd. http://www.nseindia.com/. Last Accessed 31, Oct 2018

  42. Chollet F et al (2015) Keras. https://keras.io

  43. Kingdom S (2019) Wilcoxon signed-rank test. http://www.statskingdom.com/175wilcoxon_signed_ranks.html. Last Accessed 21 Mar 2019

  44. Abdi H (2010) Coefficient of variation. Encycl Res Des 1:169

    Google Scholar 

  45. Thakkar A, Chaudhari K (2020) Fusion in stock market prediction: a decade survey on the necessity, recent developments, and potential future directions. Inf Fusion 65:95

    Article  Google Scholar 

  46. Chaudhari K, Thakkar A (2021) iCREST: international cross-reference to exchange-based stock trend prediction using long short-term memory. In: International conference on applied soft computing and communication networks. Springer, pp 323–338. https://doi.org/10.1007/978-981-33-6173-7_22

  47. Thakkar A, Chaudhari K (2021) A comprehensive survey on deep neural networks for stock market: the need, challenges, and future directions. Expert Syst Appl 177:114800. https://doi.org/10.1016/j.eswa.2021.114800

    Article  Google Scholar 

  48. Thakkar A, Chaudhari K (2020) Predicting stock trend using an integrated term frequency-inverse document frequency-based feature weight matrix with neural networks. Appl Soft Comput 96:106684

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ankit Thakkar.

Ethics declarations

Conflict of interest

The authors declare no potential conflict of interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Thakkar, A., Patel, D. & Shah, P. Pearson Correlation Coefficient-based performance enhancement of Vanilla Neural Network for stock trend prediction. Neural Comput & Applic 33, 16985–17000 (2021). https://doi.org/10.1007/s00521-021-06290-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-021-06290-2

Keywords