Research Article

Uber stock prediction: A comparative study between three models

Xinyi Dong*
University of Lancaster

* Corresponding author: [email protected]

Abstract

These days, people are paying greater attention to the stock market, precising stock prediction can considerably boost the rate of return. This article will utilize Uber Inc.'s stock forecast as an exploratory objective to conduct a study on its stock price, specially, this article mainly compares three models: Linear Regression, Random Forest Regressor and Long Short-Term Memory (LSTM) and uses four parameters (MSE, RMSE, MAE and R2) to evaluate and determine which model has the most accuracy in predicting a stock's closing price. In light of the experimental findings, the results of linear regression yield a R^2 of 0.98, RMSE of 1.27, MSE of 1.62, and MAE of 0.94; the results for random forest regression are R^2 equal to 1.00, RMSE is 0.52, MSE amount as 0.27, and MAE up to 0.38; and the LSTM results are R^2 come up to 0.97, RMSE is 1.68, MSE equal to 2.82, and MAE is 1.25. Based on the result, this article concludes that Random Forest is the most accurate in predicting Uber's stock price.

Keywords: Uber; Machine Learning; Linear Regression; Random Forest; Long Short-Term Memory (LSTM); Artificial Intelligence
Published: March 15, 2024
DOI: 10.54254/2755-2721/46/20241561
Volume: ACE Vol.46
pp. 278-282
Download PDF

References

  1. Reddy, V. K. S. (2018). Stock market prediction using machine learning. International Research Journal of Engineering and Technology (IRJET), 5(10), 1033-1035.
  2. Torres P, E. P., Hernández-Álvarez, M., Torres Hernández, E. A., & Yoo, S. G. (2019). Stock market data prediction using machine learning techniques. In Information Technology and Systems: Proceedings of ICITS 2019 (pp. 539-547). Springer International Publishing.
  3. Daniel, cox. (2005, March). Driving Organic Growth at Bank of America - ProQuest.
  4. Itransition. Available at: https://www.itransition.com/
  5. Umer, M., Awais, M., & Muzammul, M. (2019). Stock market prediction using machine learning (ML) algorithms. ADCAIJ: Advances in Distributed Computing and Artificial Intelligence Journal, 8(4), 97-116.
  6. Gururaj, V., Shriya, V. R., & Ashwini, K. (2019). Stock market prediction using linear regression and support vector machines. Int J Appl Eng Res, 14(8), 1931-1934.
  7. Ng, A. (2014). CS6140 Machine Learning Regression.
  8. Nti, K. O., Adekoya, A., & Weyori, B. (2019, July 19). Random Forest Based Feature Selection of Macroeconomic Variables for Stock Market Prediction.
  9. Palimkar, P., Shaw, R. N., & Ghosh, A. (2021). Machine Learning Technique to Prognosis Diabetes Disease: Random Forest Classifier Approach. Advanced Computing and Intelligent Technologies, 218(1), 219–244.
  10. Kumar, A., Purohit, K., & Kumar, K. (2021). Stock Price Prediction Using Recurrent Neural Network and Long Short-Term Memory. SpringerLink, 175(1), 153–160.