Abstract
Predicting stock prices is a crucial task that has significant implications for investment decisions, business strategies, and financial market stability. Accurate predictions can help investors make informed decisions, capture opportunities, and minimize risks. Understanding financial markets, economic data, company-specific elements, and a variety of statistical and analytical approaches are all necessary for making accurate stock price predictions. This paper employs three machine learning methods to forecast stock price data from a three-year time series dataset. Stock prediction plays a fundamental role in investment decisions, and accurate predictions are crucial. While various methods for predicting stock trends exist, different stock datasets may require different prediction models. Using three years of stock data, including gold and bitcoin, from the 2022 MCM Problem C, this study applies Support Vector Machines (SVM), Long Short-Term Memory (LSTM), and Convolutional Neural Networks (CNN) to make predictions. Bayesian hyperparameter optimization is employed, and a comparative analysis is conducted. Ultimately, the results indicate that CNN outperforms the other methods, exhibiting relatively low error metrics and a high R-squared value, with no apparent signs of overfitting.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
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.