Skip to main content

Advertisement

Log in

A Comprehensive Comparative Study of Artificial Neural Network (ANN) and Support Vector Machines (SVM) on Stock Forecasting

  • Published:
Annals of Data Science Aims and scope Submit manuscript

Abstract

From exchanging budgetary instruments to tracking individual spending plans to detail a business's profit, money-related organisations utilise computational innovation day by day. Here in this paper, we focus on the significance of innovation in accounts such as financial risk management and stock prediction. We discuss two significant algorithms that have a notable role in stock forecasting. Artificial Neural Networks (ANN), as absenteeism of some data points, does not hamper the network functioning. Secondly, Support Vector Machines (SVM) has several features, and due to simple decision boundaries, it avoids over-fitting. The paper first looks at the different technologies applied in stock market prediction. It examines how sentimental analysis, decision trees, moving average algorithm, and data mining is applied in various stock prediction scenarios. The paper covers the recent past studies to explore the concepts and methodologies through which ANN's and SVM's have been used. Additionally, the paper incorporates significant aspects of novel methods and technologies in which ANN as a hybrid model like ANN-MLP, GARCH-MLP, a combination of the Backpropagation algorithm and Multilayer Feed-forward network, yields better results. Simultaneously, SVM's have been successfully applied in stock prediction, giving an accuracy of about 60%–70% for simple SVM, which is further improved by combining methods like Random Forest, Genetic Algorithm more accurate outcomes. Further, we present our thoughts on where SVM's and ANN's stand as prediction algorithms and challenges like the time constraint, current scenarios, data limitation, and cold start problems were raised. Conclusively SVM and ANN played prominent roles in tackling these issue to an extent and can further be enhanced with their integration with other novel techniques resulting in hybrid methodologies. It will lead students, researchers and financial enthusiasts to more potent approaches for Stock forecasting.

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

Access this article

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

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Data availability

All relevant data and material are presented in the main paper.

Code Availability

Not Applicable.

References

  1. Haider Khan Z, Sharmin Alin T, Hussain A (2011) Price prediction of share market using artificial neural network “ANN.” Int J Comput Appl 22:42–47. https://doi.org/10.5120/2552-3497

    Article  Google Scholar 

  2. Nayak B, Ojha RK, Subbarao PS, Batth V (2019) Machine learning finance: Application of machine learning in collaborative filtering recommendation system for financial recommendations. Int J Recent Technol Eng 8:905–909

    Google Scholar 

  3. Ozbayoglu AM, Gudelek MU, Sezer OB (2020) Deep learning for financial applications: a survey. Appl Soft Comput J 93:106384. https://doi.org/10.1016/j.asoc.2020.106384

    Article  Google Scholar 

  4. Dey S, Kumar Y, Saha S, Basak S (2016) Forecasting to Classification : Predicting the direction of stock market price using Xtreme Gradient Boosting Forecasting to Classification . https://doi.org/10.13140/RG.2.2.15294.48968

  5. Farquad MAH, Ravi V, Raju SB (2012) Analytical CRM in banking and finance using SVM: a modified active learning-based rule extraction approach. Int J Electron Cust Relatsh Manag 6:48–73. https://doi.org/10.1504/IJECRM.2012.046470

    Article  Google Scholar 

  6. Huang W, Lai KK, Nakamori Y et al (2007) Neural networks in finance and economics forecasting. Int J Inf Technol Decis Mak 6:113–140. https://doi.org/10.1142/S021962200700237X

    Article  Google Scholar 

  7. Shihavuddin ASM, Ambia MN, Ardin MMN, et al (2010) Prediction of stock price analyzing the online financial news using Naive Bayes classifier and local economic trends. ICACTE 2010 - 2010 3rd Int Conf Adv Comput Theory Eng Proc 4:22–26. https://doi.org/10.1109/ICACTE.2010.5579624

  8. Khaidem L, Saha S, Dey SR (2016) Predicting the direction of stock market prices using random forest. 00:1–20

  9. SenGupta I, Nganje W, Hanson E (2021) Refinements of barndorff-nielsen and shephard model: an analysis of crude oil price with machine learning. Ann Data Sci 8:39–55. https://doi.org/10.1007/s40745-020-00256-2

    Article  Google Scholar 

  10. Tien JM (2017) Internet of things, real-time decision making, and artificial intelligence. Ann Data Sci 4:149–178. https://doi.org/10.1007/s40745-017-0112-5

    Article  Google Scholar 

  11. Kunwar M (2019) Artificial intelligence in finance: Understanding how automation and machine learning is transforming the financial industry

  12. Xie M (2019) Development of artificial intelligence and effects on financial system. J Phys Conf Ser. https://doi.org/10.1088/1742-6596/1187/3/032084

    Article  Google Scholar 

  13. Fu X, Du J, Guo Y, et al (2018) A Machine Learning Framework for Stock Selection

  14. Aouni B, Colapinto C, La Torre D (2014) Financial portfolio management through the goal programming model: current state-of-the-art. Eur J Oper Res 234:536–545. https://doi.org/10.1016/j.ejor.2013.09.040

    Article  Google Scholar 

  15. Spronk J, Hallerbach W (1997) Financial modelling: Where to go? With an illustration for portfolio management. Eur J Oper Res 99:113–125. https://doi.org/10.1016/S0377-2217(96)00386-4

    Article  Google Scholar 

  16. Kedia V, Khalid Z, Goswami S, et al (2018) Portfolio Generation for Indian Stock Markets Using Unsupervised Machine Learning. Proc - 2018 4th Int Conf Comput Commun Control Autom ICCUBEA 2018 1–5. https://doi.org/10.1109/ICCUBEA.2018.8697771

  17. Hargreaves C (2018) Machine learning application in the financial markets industry. 0–4

  18. Zavadzki T, de Pauli S, Kleina M, Bonat WH (2020) Comparing artificial neural network architectures for brazilian stock market prediction. Ann Data Sci 7:613–628. https://doi.org/10.1007/s40745-020-00305-w

    Article  Google Scholar 

  19. Hiba Sadia K, Sharma A, Paul A, Sanyal S (2019) Stock market prediction using machine learning algorithms. Int J Eng Adv Technol 8(4):25–31

    Google Scholar 

  20. Madge S, Bhatt S (2015) Predicting Stock Price Direction using Support Vector Machines. –Independent Work Rep Spring 2015

  21. Majumder M (2010) Forecasting of Indian stock market index using artificial neural network Manna Majumder 1 , MD Anwar Hussian 2. NSE India 1–21

  22. Pagolu VS, Reddy KN, Panda G, Majhi B (2017) Sentiment analysis of Twitter data for predicting stock market movements. Int Conf Signal Process Commun Power Embed Syst SCOPES 2016 - Proc 1345–1350. https://doi.org/10.1109/SCOPES.2016.7955659

  23. Agrawal M, Khan AU, Shukla PK (2019) Stock price prediction using technical indicators: a predictive model using optimal deep learning. Int J Recent Technol Eng 8:2297–2305

    Google Scholar 

  24. Grigoryan H (2016) A stock market prediction method based on support vector machines (svm) and independent component analysis (ICA). Database Syst J 7:12–21

    Google Scholar 

  25. Moghaddam AH, Moghaddam MH, Esfandyari M (2016) Predicción del índice del mercado bursátil utilizando una red neuronal artificial. J Econ Financ Adm Sci 21:89–93. https://doi.org/10.1016/j.jefas.2016.07.002

    Article  Google Scholar 

  26. Wanjawa BW, Muchemi L (2014) ANN Model to Predict Stock Prices at Stock Exchange Markets. 1–23

  27. Jeon S, Hong B, Kim J, Lee HJ (2016) Stock price prediction based on stock big data and pattern graph analysis. IoTBD 2016 - Proc Int Conf Internet Things Big Data 223–231. https://doi.org/10.5220/0005876102230231

  28. Das D, Sadiq AS, Ahmad NB, Lloret J (2017) Stock market prediction with big data through hybridization of data mining and optimized neural network techniques. J Mult Log Soft Comput 29:157–181

    Google Scholar 

  29. Sandhiya V, Revathi T, Jayashree A et al (2017) Stock market prediction on bigdata using machine learning algorithm. Int J Eng Sci 7:10057–10059

    Google Scholar 

  30. Hajizadeh E, Ardakani HD, Shahrabi J (2010) Application of data mining techniques in stock markets: a survey. J Econ Int Finance 2:109–118

    Google Scholar 

  31. Al-Radaideh Q, Assaf A, Alnagi E (2013) Predicting stock prices using data mining techniques. Int Arab Conf Inf Technol 8

  32. Dhenuvakonda P, Anandan R, Kumar N (2020) Stock price prediction using artificial neural networks. J Crit Rev 7:846–850

    Google Scholar 

  33. Chopra S, Yadav D, Chopra AN (2019) Artificial neural networks based indian stock market price prediction : before and after demonetization. Int J Swarm Intell Evol Comput 8:1–7. https://doi.org/10.4172/2090-4908.1000174

    Article  Google Scholar 

  34. Amit S, T. G, Rao M, (2017) Inter-comparison of artificial neural network algorithms for time series forecasting: predicting indian financial markets. Int J Comput Appl 162:1–13. https://doi.org/10.5120/ijca2017913249

    Article  Google Scholar 

  35. Shah V V., Mirani SJ, Nanavati Y V., et al (2016) Stock market prediction using artificial neural networks. Int J Soft Comput Eng ISSN 2231–2307, Vol Issue-1, March 2016 6:

  36. Chauhan B, Bidave U, Gangathade A, Kale S (2014) Stock Market Prediction Using Artificial Neural Networks

  37. Olson D, Shi Y (2007) Introduction to business data mining. McGraw-Hill/Irwin

  38. Shi Y, Tian Y, Kou G et al (2011) Optimization Based Data Mining: Theory and Applications. Springer, London, London

    Book  Google Scholar 

  39. Yetis Y, Kaplan H, Jamshidi M (2014) Stock market prediction by using artificial neural network. World Autom Congr Proc. https://doi.org/10.1109/WAC.2014.6936118

    Article  Google Scholar 

  40. Korade M, Gutte S, Thorat A, Sonawane R (2014) Stock prediction system using ann. Int J Res Eng Technol 03:746–750

    Article  Google Scholar 

  41. Simon S, Raoot A (2012) Accuracy driven artificial neural networks in stock market prediction. Int J Soft Comput 3:35–44. https://doi.org/10.5121/ijsc.2012.3203

    Article  Google Scholar 

  42. Lee SH (2007) Lim JS (2007) Forecasting KOSPI by weighted average defuzzification based on NEWFM. Int Conf Intell Adv Syst ICIAS 2007:66–70. https://doi.org/10.1109/ICIAS.2007.4658349

    Article  Google Scholar 

  43. Li F, Liu C (2009) Application study of BP neural network on stock market prediction. Proc - 2009 9th Int Conf Hybrid Intell Syst HIS 2009 3:174–178. https://doi.org/10.1109/HIS.2009.248

  44. Olatunji SO, Al-Ahmadi MS, Elshafei M, Fallatah YA (2011) Saudi Arabia stock prices forecasting using artificial neural networks. 4th Int Conf Appl Digit Inf Web Technol ICADIWT 2011 81–86. https://doi.org/10.1109/ICADIWT.2011.6041425

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

    Article  Google Scholar 

  46. Zekic M (1998) Neural network applications in stock market predictions-a methodology analysis. Proc 9th Int Conf … 1–11: 651(082)

  47. Gururaj V, Shriya VR, Ashwini K (2019) Stock market prediction using linear regression and support vector machines. Int J Appl Eng Res 14:1931–1934

    Google Scholar 

  48. Zheng A, Jin J (2017) Using AI to Make Predictions on Stock Market. 1–6

  49. Patil SS, Patidar K, Jain M (2016) Stock market trend prediction using support vector machine. Int J Curr Trends Eng Technol 2:18–25

    Google Scholar 

  50. Pan J, Zhuang Y, Fong S (2016) The impact of data normalization on stock market prediction: Using SVM and technical indicators. Commun Comput Inf Sci 652:72–88. https://doi.org/10.1007/978-981-10-2777-2_7

    Article  Google Scholar 

  51. Di X (2014) Stock Trend Prediction with Technical Indicators using SVM. Stanford Univ, Stanford

    Google Scholar 

  52. Karazmodeh M, Nasiri S, Hashemi SM (2013) Stock price forecasting using support vector machines and improved particle swarm optimization. J Autom Control Eng 1:173–176

    Article  Google Scholar 

  53. Hu Z, Zhu J, Tse K (2013) Stocks market prediction using Support Vector Machine. Proc 2013 6th Int Conf Inf Manag Innov Manag Ind Eng ICIII 2013 2:115–118. https://doi.org/10.1109/ICIII.2013.6703096

  54. Shen S, Jiang H, Zhang T (2012) Stock Market Forecasting Using Machine Learning Algorithms

Download references

Acknowledgements

The authors are grateful to Department of Computer Science Engineering, Indus University and Department of Chemical Engineering, Pandit Deendayal Energy University for the permission to publish this research.

Funding

Not Applicable.

Author information

Authors and Affiliations

Authors

Contributions

All the authors make a substantial contribution to this manuscript. AK, PD, AV and MS participated in drafting the manuscript. AK, PD, AV and MS wrote the main manuscript. All the authors discussed the results and implication on the manuscript at all stages.

Corresponding author

Correspondence to Manan Shah.

Ethics declarations

Ethical Statements

Not Applicable.

Conflict of interest

The authors declare that they have no competing 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

Kurani, A., Doshi, P., Vakharia, A. et al. A Comprehensive Comparative Study of Artificial Neural Network (ANN) and Support Vector Machines (SVM) on Stock Forecasting. Ann. Data. Sci. 10, 183–208 (2023). https://doi.org/10.1007/s40745-021-00344-x

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40745-021-00344-x

Keywords

Navigation