Research Article

An analysis of machine learning's role in stock price prediction

Xiang Meng*
Beijing LiZe International Academy

* Corresponding author: [email protected]

Abstract

The volatility and uncertainty of the stock market can reflect the economic trends of today's society. With the improvement of computing power and the development of data processing, it has been found that machine learning can improve the accuracy, flexibility and interpretability of stock price predictions. To conduct an in-depth study, this paper introduces three methods in machine learning: neural networks, support vector machines and random forest. These three algorithms can predict the stock market from multiple perspectives, complementing each other’s weaknesses. The results show that, while neural networks tend to overfit, random forests are resistant to overfitting. By combining neural networks with random forests, researchers can enhance prediction accuracy. Additionally, the random forest algorithm has strong data processing capabilities, and it can effectively address the issue of low computational efficiency in the support vector machine algorithm.

Keywords: Machine Learning; Neural Networks; Support Vector Machines; Random Forest; Sock Price Prediction
Published: September 20, 2024
DOI: 10.54254/2755-2721/92/20241732
Volume: ACE Vol.92
pp. 115-120
Download PDF

References

  1. Wang Jiazeng. 2023. Research on stock price prediction and stock portfolio based on improved LSTM neural network[D]. Xi'an University of Architecture and Technology, 2023. DOI: 10.27393/d.cnki.gxazu.2023.000894
  2. Gao Ziyi. 2024. Random Forest-based Stock Price Trend Prediction Research.
  3. F.-F. Li, A. Karpathy, and J. Johnson, “Stanford CS class CS231n: Convolutional Neural Networks for Visual Recogni tion,” http://cs231n.stanford.edu/.
  4. Steinwart, I., & Christmann, A. (2008). Support vector machines. Springer Science & Business Media.
  5. Getting Started with the Python Random Forest Algorithm and Performance Evaluation https://zhuanlan.zhihu.com/p/70233215
  6. Peng Yan, Liu Yuhong, Zhang Rongfen. 2019. Modeling and analysis of stock price prediction based on LSTM. Computer Engineering and Applications, 55(11):209-212
  7. Z.H. Chen. 2024. Research on stock price prediction based on machine learning algorithm[D]. Dongguan Institute of Technology. DOI: 10.44357/d.cnki.gdgut.2024.000171.
  8. Deng Yun. Time selection strategy for the Shanghai and Shenzhen 300 Index based on wavelet denoising and random forest algorithm (Doctoral dissertation, Huazhong University of Science and Technology)
  9. Jabed, Mahfuz Islam Khan. (2024). Stock Market Price Prediction using Machine Learning Techniques. American International Journal of Sciences and Engineering Research. 7. 1-6. 10.46545/aijser. v7i1.308.
  10. Zhang Lei. 2022. Stock price prediction based on investor sentiment [D]. Qufu Normal University. doi: 10.27267/d.cnki.gqfsu.2022.000576.
  11. Hou, Yani. (2021). Stock Price Prediction Based on Bi-LSTM Deep Learning. Statistics and Application.10.538-546.10.12677/SA.2021.103055.