Stock price prediction of PayPal by Linear Regression, SVM, Random Forest and LSTM
Abstract
This research paper undertakes an extensive and detailed examination of four distinct machine learning models, specifically Linear Regression, Support Vector Machine (SVM), Random Forest, and Long Short-Term Memory (LSTM). The stock values of PayPal are forecast employing these techniques, and Python serves as the fundamental tool in facilitating a comprehensive and thorough evaluation of their efficacy in predicting trends in the financial market. In the realm of methodology, this study encompasses a multifaceted approach. Python forms the cornerstone for data analysis, model development, and testing. The data collection process encompasses historical stock price data for PayPal, alongside an array of relevant economic indicators. The core of the study lies in the comparative analysis of the four machine learning models. Each model is rigorously tested against historical data, allowing for a nuanced understanding of their strengths and weaknesses. Linear Regression, remarkably, emerges as the standout performer in terms of predictive accuracy and consistency. This firmly establishes Linear Regression as the optimal choice for forecasting stock prices. The significance distinction of this research extends beyond its findings. It advances the discipline of financial forecasting by illuminating the comparative effectiveness of different models, offering valuable insights for guiding future research initiatives within this domain. The integration of advanced methodologies and the clear-cut conclusion regarding Linear Regression's superiority underscore the pivotal role of this study in enhancing the precision of financial market trend forecasting.
References
- Gangwar, A., Kumar, A., & Bijpuria, E. (2021). Stock Price Prediction using Machine Learning. 2021 3rd International Conference on Advances in Computing, Communication Control and Networking (ICAC3N), 189-193.
- Vijh, M., Chandola, D., Tikkiwal, V. A., & Kumar, A. (2020). Stock closing price prediction using machine learning techniques. Procedia computer science, 167, 599-606.
- Reddy, V. K. S. (2018). Stock market prediction using machine learning. International Research Journal of Engineering and Technology (IRJET), 5(10), 1033-1035.
- Khaidem, L., Saha, S., & Dey, S. R. (2016). Predicting the direction of stock market prices using random forest. arXiv preprint arXiv:1605.00003.
- Panwar, B., Dhuriya, G., Johri, P., Yadav, S. S., & Gaur, N. (2021, March). Stock market prediction using linear regression and SVM. In 2021 International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE) (pp. 629-631). IEEE.
- Bhuriya, D., Kaushal, G., Sharma, A., & Singh, U. (2017, April). Stock market predication using a linear regression. In 2017 international conference of electronics, communication and aerospace technology (ICECA) (Vol. 2, pp. 510-513). IEEE.
- Henrique, B. M., Sobreiro, V. A., & Kimura, H. (2018). Stock price prediction using support vector regression on daily and up to the minute prices. The Journal of finance and data science, 4(3), 183-201.
- Illa, P. K., Parvathala, B., & Sharma, A. K. (2022). Stock price prediction methodology using random forest algorithm and support vector machine. Materials Today: Proceedings, 56, 1776-1782.
- Sunny, M. A. I., Maswood, M. M. S., & Alharbi, A. G. (2020, October). Deep learning-based stock price prediction using LSTM and bi-directional LSTM model. In 2020 2nd novel intelligent and leading emerging sciences conference (NILES) (pp. 87-92). IEEE.
- Mehtab, S., Sen, J., & Dutta, A. (2021). Stock price prediction using machine learning and LSTM-based deep learning models. In Machine Learning and Metaheuristics Algorithms, and Applications: Second Symposium, SoMMA 2020, Chennai, India, October 14–17, 2020, Revised Selected Papers 2 (pp. 88-106). Springer Singapore.
- Panwai, S. (2021). Artificial neural network stock price prediction model under the influence of big data. Review of Integrative Business and Economics Research, 10, 33-58.