{"title":"Research on the selection of stock prediction models","authors":"Renjun Huang","doi":"10.54254/2753-8818/30/20241086","DOIUrl":null,"url":null,"abstract":"Against the backdrop of increasing attention to the integration of machine learning and stock analysis, stock prediction models are a hot topic. The question this paper is studying in this study is which stock prediction model is more accurate in predicting stocks. The method of this study is based on the stock prices of new energy vehicle leader Tesla Motors in the past three years as a data set, using a random forest model and an SVR model to predict the stock prices over the next 10 days. Based on the parameter MSE values of the training models of two stock prediction models, compare their sizes to determine the accuracy and stability of the models. This study found that the stock prediction results of the SVR model are more accurate and stable than those of the random forest model. Therefore, it is believed that the stock prediction model using the SVR method will have more market value and occupy an important position in the integration of machine learning and stock trading analysis.","PeriodicalId":489336,"journal":{"name":"Theoretical and Natural Science","volume":" 10","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-01-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theoretical and Natural Science","FirstCategoryId":"0","ListUrlMain":"https://doi.org/10.54254/2753-8818/30/20241086","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Against the backdrop of increasing attention to the integration of machine learning and stock analysis, stock prediction models are a hot topic. The question this paper is studying in this study is which stock prediction model is more accurate in predicting stocks. The method of this study is based on the stock prices of new energy vehicle leader Tesla Motors in the past three years as a data set, using a random forest model and an SVR model to predict the stock prices over the next 10 days. Based on the parameter MSE values of the training models of two stock prediction models, compare their sizes to determine the accuracy and stability of the models. This study found that the stock prediction results of the SVR model are more accurate and stable than those of the random forest model. Therefore, it is believed that the stock prediction model using the SVR method will have more market value and occupy an important position in the integration of machine learning and stock trading analysis.