Bootstrapping regression learner app

14 次查看(过去 30 天)
Is there a way to automatically repeat a regression learner training session (loading and reloading the data, selecting the columns of interest, the number of CV's, etc) and export the RMSE and R^2 values to get the variance and mean of these? I need to compare this to another model, and there isn't a better way than this that I have found. I am willing to create a shell script to do it, I just need to know some of the important terms and syntaxes.
  1 个评论
Bhargavi Maganuru
You can generate MATLAB code for your best model and use the code to train with new data. To generate code go to Regression Learner tab, in the Export section, click Generate Function
With the trained model, make predictions on the new data.
Also You can export model to workspace using Export Model in the Export section in Regression learner tab.

请先登录,再进行评论。

回答(0 个)

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by