Bootstrapping regression learner app

14 views (last 30 days)
Michael Burns
Michael Burns on 14 Jan 2020
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 Comment
Bhargavi Maganuru
Bhargavi Maganuru on 1 Apr 2020
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.

Sign in to comment.

Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!