Netflix Stock Price Prediction: A Comparison of Linear Regression, k-Nearest Neighbor, and Decision Tree Methods
DOI:
https://doi.org/10.54097/4cs6tb83Keywords:
Machine Learning, Linear Regression, k-Nearest Neighbor, Decision Tree, NetflixAbstract
The implementation of stock prediction has become a major popular topic. However, the effectiveness of different machine learning methods for stock prediction tends to vary. Linear regression, k-Nearest neighbors, and decision trees are three basic machine learning algorithms and are frequently used in the practice of stock prediction. This paper proposes these three methods and compares the effectiveness of applying them to predict the stock price of Netflix by evaluating the mean absolute error (MAE), mean squared error (MSE), and coefficient of determination (R-squared). The results of these three methods all display promising predictions, but the linear regression model tends to outperform in this Netflix prediction attempt. This prediction practice finds patterns and trends in past data so as to help investors make more informed decisions in the volatile financial market.
Downloads
References
Wang Yuehan. Netflix: How to Keep a Continued Success. In 2022 2nd International Conference on Enterprise Management and Economic Development (ICEMED 2022). Atlantis Press, 2022, 1215-1219.
Shapiro A. Netflix’s stock is now higher than before coronavirus hit U.S.. Forbes, 2020.
Whitten S. Netflix stock has now lost all its gains from the pandemic. CNBC, 2022.
Xiao Yi, Xiao Jin, Lu Fengbin, Wang Shouyang. Ensemble ANNs-PSO-GA approach for day-ahead stock e-exchange prices forecasting. International Journal of Computational Intelligence Systems, 2014, 7 (2), 272-290.
Obthong M., Tantisantiwong N., Jeamwatthanachai W., Wills G. A survey on machine learning for stock price prediction: Algorithms and techniques. 2020.
Hindrayani K. M., Fahrudin T. M., Aji R. P., Safitri E. M. Indonesian stock price prediction including covid19 era using decision tree regression. In 2020 3rd International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), IEEE, 2020, 344-347.
Polamuri S. R., Srinivas K., Mohan A. K. Stock market prices prediction using random forest and extra tree regression. Int. J. Recent Technol, 2019, Eng, 8 (1), 1224-1228
Kumar D. B., & Kumar S. M. Improved accuracy in prediction of stock equity analysis and classification using linear regression and compared with k nearest neighbor. Eur. Chem. Bull. 2023, 12 (S1), 4686-4691.
Lawal Z. K., Yassin H., Zakari R. Y. Stock market prediction using supervised machine learning techniques: An overview. In 2020 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE), IEEE, 2020, 1-6.
Priya, K. S. Linear regression algorithm in machine learning through MATLAB. Int. J. Res. Appl. Sci. Eng. Technol. (IJRASET), 2021, 9, 12.
Singh G. Machine learning models in stock market prediction. arXiv preprint arXiv: 2202.09359. 2022.
Bansal M., Goyal A., Choudhary A. A comparative analysis of K-nearest neighbor, genetic, support vector machine, decision tree, and long short-term memory algorithms in machine learning. Decision Analytics Journal, 2022, 3, 100071.
Nabipour M., Nayyeri P., Jabani H., Shahab S., Mosavi A. Predicting stock market trends using machine learning and deep learning algorithms via continuous and binary data; a comparative analysis. IEEE Access, 2020, 8, 150199-150212.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.






