Abstract

This paper investigates the performance of various regression-based machine learning techniques for short-term stock price prediction. Four regression algorithms – linear regression, support vector regression (SVR), polynomial regression and LASSO regression – were applied to Apple Inc’s historical price data for two-years ending on October 1st, 2024, to predict the next day’s closing stock price. Technical indicators such as moving average, relative strength index (RSI) and lag features were included in the regressions to improve prediction performance. Evaluation metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and R-squared (R²) were employed to assess the models’ performance. Results show that linear regression and LASSO regression were the most performant models, reaching R² values of more than 0.95, with minimal error values. While SVR yielded the poorest results when accounting for all metrics. Overall, the study highlights the predictive power of simpler regression models over more complex ones in stock price predictions and offers recommendations for model selection.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.