Comparative analysis of different machine learning models for predicting Google stock price
Abstract
With an increasing reliance on data-driven decision-making in the business world, the need for accurate stock price predictions has grown substantially. This paper aims to address this crucial aspect, aligning machine learning methodologies with real-world business applications. The dynamic nature of financial markets indicates that it is characterized by intricate price movements influenced by an array of factors. Because it has the ability to reveal patterns and relationships in the data that traditional research can miss, machine learning has attracted a lot of attention in this context when it comes to predicting stock values. Methodologically, this paper applies three popular machine learning models to predict Google's stock prices. Linear Regression, Decision Tree, and Random Forest are each employed to assess their predictive accuracy and reliability. Metrics such as Root Mean Squared Error (RMSE), R-squared, Mean Absolute Error (MAE), and Residual Analysis are used to evaluate the models' performance. The findings reveal that Linear Regression outperformed the other models in predicting Google's stock prices. Its superior performance, as indicated by the evaluation metrics, suggests that it may be a valuable tool in the realm of financial forecasting. These findings highlight how data-driven insights can improve company strategy and decision-making, and they have important ramifications for the use of machine learning in stock market analysis.
References
- Mamgai, R. Jain, H. Aithani, Y. Bansal, V. Nagrath, P. Jain, R. Kumar, A. Chaudhary, A. 2022, Stock prediction & recommendation system using KNN and linear regression, (AIP Conference Proceedings, vol. 2555), no. 1.
- Titarmare, N. Wazarkar, M. Palkar, P. Alwaria, R, Shetye, A. Khodiyar, R. 2022, Stock market predictions using linear regression, (AIP Conference Proceedings, vol. 2424), no. 1.
- Bommareddy, S. R. Sai Smaran Reddy, K. Kaushik, P. Vinay Kumar, K. V. Hulipalled, V. R. 2018, predicting the stock price using linear regression, (International Journal of Advanced Research in Computer Science, vol. 9), no. 81.
- Dhyani, B. Jain, A. Barthwal, A. Kumar, M. 2022, The prediction of closing prices of company stocks using random forests and artificial neural networks, (AIP Conference Proceedings, vol. 2481), no. 1.
- Kucheryavskiy, S. Zhilin, S. Rodionova, O. Pomerantsev, A. 2020, Procrustes cross-ValidationA bridge between cross-validation and independent validation sets, (Analytical Chemistry (Washington)), vol. 92), no. 17, pp. 11842-11850.
- Wong, T. Yeh, P. 2020, Reliable accuracy estimates from k-fold cross validation. (IEEE Transactions on Knowledge and Data Engineering, vol. 32), no. 8, pp. 1586-1594.
- Kasuya, E. 2019, On the use of r and r squared in correlation and regression, (Ecological Research, vol. 34), no. 1, pp. 235-236.
- Valente, G. Castellanos, A. L. Hausfeld, L. De Martino, F. Formisano, E. 2021, Cross-validation and permutations in MVPA: Validity of permutation strategies and power of cross-validation schemes, (NeuroImage (Orlando, Fla.), vol. 238), pp. 118145-118145.
- He, P. Sun, Y., Zhang, Y. Li, T. 2020, COVID-19's impact on stock prices across different sectors-an event study based on the chinese stock market, (Emerging Markets Finance & Trade, vol. 56), no. 10, pp. 2198-2212.
- Huang, M. Y. Rojas, R. R. Convery, P. D. 2020, Forecasting stock market movements using google trend searches, (Empirical Economics, vol. 59), no. 6, pp. 2821-2839.
- Kim, A. Lee, S. Shin, D. 2020, An analysis of the impact of product recall on stock prices based on google trend search counts, (Global Business and Finance Review, vol. 25), no. 4, pp. 33-50.