Preprint Article Version 1 This version is not peer-reviewed

Machine Learning Models to Predict Google Stock Prices

Version 1 : Received: 7 November 2024 / Approved: 8 November 2024 / Online: 8 November 2024 (07:56:17 CET)

How to cite: Bucura, C. E.; Giudici, P. Machine Learning Models to Predict Google Stock Prices. Preprints 2024, 2024110600. https://doi.org/10.20944/preprints202411.0600.v1 Bucura, C. E.; Giudici, P. Machine Learning Models to Predict Google Stock Prices. Preprints 2024, 2024110600. https://doi.org/10.20944/preprints202411.0600.v1

Abstract

Google services have shifted the use of technology in our daily lives, enhancing our communication, collaboration and access information. Given this pervasive influence, the aim of this analysis is to compare the predictions of Alphabet’s stock price using various datasets and machine learning models and understand which models perform better, not only in terms of predictive accuracy, but also in terms of explainability and robustness. To this aim, we have built three different database, considering the existing economic literature and trying to integrate features deriving from the analysis of the context in which the company works and, in particular, R&D costs from Alphabet’s annual financial reports. We have applied to the database different state of the art machine learning models, ranging from statistical learning models (linear regression), improved with Ridge regularisation, to classic machine learning models such as Gradient Boosting and artificial neural networks, to more recent deep learning models such as recurrent neural networks. Additionally, the models have been compared in terms of the recently proposed S.A.F.E. AI model, which includes metrics that can assess the Sustainability, Accuracy, Fairness and Explainability of AI application in a unified manner, with a metrics that is related to the Lorenz curve and the Area Under the ROC Curve. Our empirical findings show that the choice of the best model to employ to predict Google stock prices depends on the desired objective. If it accuracy, the recurrent neural network is the best model. If it is robustness, the Ridge linear model is the most resilient to changes. If it is explainability, the Gradient Boosting model is the best choice.

Keywords

Google stock prices; Machine learning models; SAFE Artificial intelligence

Subject

Computer Science and Mathematics, Artificial Intelligence and Machine Learning

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.