Research Article

Forecasting stock price trends with machine learning techniques

Tianyao Li*
Florida International University

* Corresponding author: [email protected]

Abstract

The stock market is a landscape of risk and unpredictability, where one wrong move can result in substantial financial loss. Hence, predicting stock market movements becomes paramount for informed investing. This research harnesses the power of four unique machine learning algorithms: Decision Tree, Linear, Random Forest, and Support Vector Regressions, aiming to forecast Apple Inc.'s stock prices. Historical data spanning three years served as the foundation for training these predictive algorithms. These models were subsequently evaluated and juxtaposed using the mean squared error metric, a robust measure of predictive accuracy. The analysis discerned that the Support Vector Linear Regression exhibited superior performance relative to its counterparts, shedding invaluable light for stock investors navigating the intricate financial markets. This evaluation of models also reveals potential disparities in forecasting precision, underscoring the imperative of model selection. The insights garnered from this study not only provide direct implications for shaping investment strategies but also lay a solid groundwork for further explorations, particularly in the realm of advanced predictive techniques.

Keywords: Machine Learning; Stock Price; Forecast
Published: March 15, 2024
DOI: 10.54254/2755-2721/46/20241307
Volume: ACE Vol.46
pp. 171-175
Download PDF

References

  1. Biswas M, Nova A J, Mahbub M K, Chaki S, Ahmed S, Islam M A 2021 ICSCT 1-6
  2. Sharma A, Bhuriya D, Singh U 2017 ICECA 2 506-509
  3. Yoo P D, Kim M H, Jan T 2005 CIMCA-IAWTIC 06 2 835-841
  4. Pahwa N, Khalfay N, Soni V, Vora D 2017 International Journal of Computer Applications 163 5 36-43
  5. Usmani M, Adil S H, Raza K, Ali S S A 2016 ICCOINS 322-327)
  6. Parmar I, Agarwal N, Saxena S, Arora R, Gupta S, Dhiman H, Chouhan L 2018 ICSCCC 574-576
  7. Kim Y S 2008 Expert Systems with Applications 34 2 1227-1234
  8. Ghosh A, Maiti R 2021 Environmental Earth Sciences 80 8 1-16
  9. James G, Witten D, Hastie T, Tibshirani R 2013 An introduction to statistical learning 61
  10. Drakos G 2019 Decision Tree Regressor Explained in Depth
  11. Hindrayani K M, Fahrudin T M, Aji R P, Safitri E M 2020 ISRITI 344-347
  12. Zhou X, Zhu X, Dong Z, Guo W 2016 The Crop Journal 4 3 212-219
  13. Piryonesi S M, El-Diraby T E 2020 Journal of Transportation Engineering 146 2 04020022
  14. Rabe A, van der Linden S, Hostert P 2009 In 2009 First Workshop on Hyperspectral Image and Signal Processing: Evolution in Remote Sensing 1-4
  15. Chang C C, Lin C J 2011 TIST 2 3 1-27
  16. Sen J, Mehtab S 2019 Design and Analysis of Robust Deep Learning Models for Stock Price Prediction
  17. Liu L, Peng B, Yu J 2022 ICEDBC 2022