Analysis of stock market trends prediction models with machine learning algorithms

Authors

  • Harini J. Student, Data Science, M.O.P. Vaishnav College for Women, India
  • Jayasree Student, Data Science, M.O.P. Vaishnav College for Women, India
  • Aparna R. Assistant Professor, Data Science, M.O.P. Vaishnav College for Women, India

Keywords:

Machine Learning, Stock Market Prediction, Predictive Analysis, Linear Regression, CNN

Abstract

Stock market trading is a major and predominant activity when one talks about the financial markets. With the inevitable uncertainty and volatility in the prices of the stocks, an investor keeps looking for ways to predict future trends to dodge losses and make the maximum possible profits. However, it cannot be denied that as of yet there is no such technique to predict the upcoming trends in the markets with complete accuracy, while multiple methods are being explored to improve the predictive performance of models to an extent as large as possible. With the advancement in Machine Learning (ML) over the past few years, many algorithms are being deployed for stock price prediction. This paper researches 3 algorithms namely Linear Regression, CNN, and Long Short-Term Memory for predicting stock prices of 10 leading companies of the Indian stock market. After exhaustive research of the various aspects related to the application of ML in the stock market, data implementation has been carried out as a part of this research work wherein the stock price dataset of 12 companies over the last 7 years was collected and used. The paper also highlights some more efficient and robust techniques that are used to forecast trends in the stock market. In detail, the methodology followed, to acquire the results, has been talked about step-wise. Furthermore, a detailed comparative analysis of the performances of the aforementioned algorithms for stock price prediction has been carried out with the results displayed in a legible tabulated and graphical form to analyse them better. The conclusions from this novel, data comprehensive research work have been presented and it has been inferred that the ML algorithm outperforms all the other algorithms for stock price or time series prediction and provides results with extensive accuracy.

References

Adhikar AJ, Jadhav AK, KH CG, HS MS. Literature survey on stock price prediction using machine learning. Int J Eng Appl Sci Technol. 2020;5(8):2143–455. https://www.ijeast.com/papers/258-262,Tesma508,IJEAST.pdf

Babu CN, Reddy BE. Selected Indian stock predictions using a hybrid ARIMA-GARCH model. In: 2014 international conference on advances in electronics computers and communications. IEEE; 2014. p. 1–6. https://www.shs-conferences.org/articles/shsconf/pdf/2024/16/shsconf_edma2024_02008.pdf

Bukhari AH, Raja MAZ, Sulaiman M, Islam S, Shoaib M, Kumam P. Fractional neuro-sequential ARFIMA-LSTM for financial market forecasting. IEEE Access. 2020; 8:71326–38. https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9057460

Gao Y, Wang R, Zhou E. Stock prediction based on optimized LSTM and GRU models. Sci Progress. 2021; 2021:1–8. https://www.scirp.org/reference/referencespapers?referenceid=3800742

Greff K, Srivastava RK, Koutník J, Steunebrink BR, Schmidhuber J. LSTM: a search space odyssey. IEEE Trans Neural Network Learn System. 2016;28(10):2222–32. https://ieeexplore.ieee.org/document/7508408

Hossain MA, Karim R, Thulasiram R, Bruce ND, Wang Y. Hybrid deep learning model for stock price prediction. In: 2018 IEEE symposium series on computational intelligence. IEEE; 2018. p. 1837–44. https://www.scirp.org/%28S%28351jmbntvnsjt1aadkposzje%29%29/reference/referencespapers?referenceid=3448122

Kadam MY, Kulkarni MS, Lonsane, MS, Khandagale AS. A survey on stock market price prediction system using machine learning techniques. 2022. https://www.ijraset.com/research-paper/stock-market-price-prediction-system-using-machine-learning-techniques

Karim ME, Foysal M, Das S. Stock price prediction using BiLSTM and GRU-based hybrid deep learning approach. In: Proceedings of third doctoral symposium on computational intelligence: DoSCI 2022. Singapore: Springer Nature Singapore; 2022. p. 701–11. https://ijritcc.org/index.php/ijritcc/article/view/6985

Nikou M, Mansourfar G, Bagherzadeh J. Stock price prediction using DEEP learning algorithm and its comparison with machine learning algorithms. Intelligent System Account Finance Manag. 2019;26(4):164–74. https://www.scirp.org/reference/referencespapers?referenceid=3800749

R. Akshaya, Varsha Ravi, S. Raja Lakshmi, and R. Aparna, Big Data to Big Impact: Effect of Big Data in Modern Decision Making. Proceedings of the International Conference on Emerging Trends in Business & Management (ICETBM 2023) 978-94-6463-162-3, https://www.atlantis-press.com/proceedings/icetbm-23/125986548

Reddy VKS. Stock market prediction using machine learning. Int Res J Eng Technology (IRJET). 2018;5(10):1033–5. https://www.irjet.net/archives/V5/i10/IRJET-V5I10193.pdf

Rezaei H, Faaljou H, Mansourfar G. Stock price prediction using deep learning and frequency decomposition. Expert System Appl. 2021;169: 114332. https://www.scirp.org/reference/referencespapers?referenceid=3800749

Thakkar A, Chaudhari K. A comprehensive survey on deep neural networks for stock market: the need, challenges, and future directions. Expert System Appl. 2021;177: 114800. https://www.scirp.org/reference/referencespapers?referenceid=3856374

Torres PEP, Hernández-Álvarez M, Torres Hernández EA, Yoo SG. Stock market data prediction using machine learning techniques. In: Information technology and systems: proceedings of ICITS 2019. Springer International Publishing; 2019. p. 539–47. https://ouci.dntb.gov.ua/en/works/4M0LdmN7/

Vanipriya CH, Thammi Reddy K. Indian stock market predictor system. In: ICT and critical infrastructure: proceedings of the 48th annual convention of Computer Society of India-Vol II: hosted by CSI Vishakapatanam Chapter. Springer International Publishing; 2014. p. 17–26. https://link.springer.com/chapter/10.1007/978-3-319-03095-1_3

Wang H. Stock price prediction based on machine learning approaches. In: Proceedings of the 3rd international conference on data science and information technology. 2020. p. 1–5. https://dl.acm.org/doi/10.1145/3414274.3414275

Published

2025-03-12

How to Cite

Harini, J., Jayasree, J., & Aparna, R. (2025). Analysis of stock market trends prediction models with machine learning algorithms. International Journal of Economic Perspectives, 19(S1), 121–135. Retrieved from http://ijeponline.org/index.php/journal/article/view/921