Research Article

Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction

Volume: 5 Number: 2 December 31, 2024
TR EN

Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction

Abstract

Stock is part of a company's principal. A person who buys stock of a company shares the profit or loss of this company. Large volume transactions are made on stock exchanges where stocks are traded. Stock prices are difficult to predict because they are affected by many variables, but when they can be predicted, great benefits are provided. Prediction of stock prices is possible with today's computers using machine learning algorithms. Machine learning provides more successful results than fundamental and technical analysis in stock price prediction. In our study, daily closing price predictions were made by collecting approximately 5-years data of the top 5 stocks with the highest market value traded in BIST 100 between 2016 and 2020. Multiple linear regression, Bayesian regression, random forest, decision trees, support vector machines, artificial neural networks algorithms were applied to include maximum 22 features and the results were compared. The most successful result was obtained in the artificial neural networks algorithm. To achieve the highest success, data pre-processing, normalization, cross-validation, parameter optimization and feature selection were applied. It has been observed that using these methods together increases the success.

Keywords

References

  1. Summers, D. (2007) Longman Business English Dictionary, Pearson Longman, London, 594 p.
  2. URL-1: https://dataconomy.com/2023/01/11/stock-prediction-machine-learning. [Access date: 20.04.2023]
  3. URL-2: https://builtin.com/machine-learning/machine-learning-stock-prediction. [Access date: 20.04.2023]
  4. Hürer, E. (1995) Hisse Senedi Fiyatını Etkileyen Faktörler ve İMKB Üzerine Bir Uygulama, İstanbul University, İstanbul, 208 s.(Master Thesis)
  5. Ghani, M., Awais, M., Muzammul (2019), Stock Market Prediction Using Machine Learning(ML) Algorithms, Advances in Distributed Computing and Artificial Intelligence Journal, 4, pp. 97-116.
  6. Sarode, S., Tolani, H., Kak, P., Lifna, C. (2019) Stock Price Prediction Using Machine Learning Techniques, International Conference on Intelligent Sustainable Systems (ICISS), Palladam, India.
  7. Usmani, M., Adil, S., Raza, K., Ali, S. (2016) Stock Price Prediction Using Machine Learning Techniques. 3rd International Conference On Computer And Information Sciences (ICCOINS), Kuala Lumpur, Malaysia.
  8. Tipirisetty, A. (2018) Stock Price Prediction using Deep Learning. San Jose State University, Department of Computer Science, California, 54s. (Master Thesis) Singh, S. Stock Prediction using Machine Learning, California State University, Computer Science, California, 2021, 16s. (Master Thesis).

Details

Primary Language

English

Subjects

Machine Learning (Other)

Journal Section

Research Article

Early Pub Date

December 16, 2024

Publication Date

December 31, 2024

Submission Date

December 19, 2023

Acceptance Date

December 16, 2024

Published in Issue

Year 2024 Volume: 5 Number: 2

APA
Karaca, H. M., & Dökmen, U. (2024). Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction. Bilgisayar Bilimleri Ve Teknolojileri Dergisi, 5(2), 36-46. https://doi.org/10.54047/bibted.1406867
AMA
1.Karaca HM, Dökmen U. Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction. BIBTED. 2024;5(2):36-46. doi:10.54047/bibted.1406867
Chicago
Karaca, Hakan Murat, and Umut Dökmen. 2024. “Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction”. Bilgisayar Bilimleri Ve Teknolojileri Dergisi 5 (2): 36-46. https://doi.org/10.54047/bibted.1406867.
EndNote
Karaca HM, Dökmen U (December 1, 2024) Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction. Bilgisayar Bilimleri ve Teknolojileri Dergisi 5 2 36–46.
IEEE
[1]H. M. Karaca and U. Dökmen, “Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction”, BIBTED, vol. 5, no. 2, pp. 36–46, Dec. 2024, doi: 10.54047/bibted.1406867.
ISNAD
Karaca, Hakan Murat - Dökmen, Umut. “Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction”. Bilgisayar Bilimleri ve Teknolojileri Dergisi 5/2 (December 1, 2024): 36-46. https://doi.org/10.54047/bibted.1406867.
JAMA
1.Karaca HM, Dökmen U. Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction. BIBTED. 2024;5:36–46.
MLA
Karaca, Hakan Murat, and Umut Dökmen. “Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction”. Bilgisayar Bilimleri Ve Teknolojileri Dergisi, vol. 5, no. 2, Dec. 2024, pp. 36-46, doi:10.54047/bibted.1406867.
Vancouver
1.Hakan Murat Karaca, Umut Dökmen. Comparative Analysis of Machine Learning Algorithms in Stock Price Prediction. BIBTED. 2024 Dec. 1;5(2):36-4. doi:10.54047/bibted.1406867

Cited By