Clear Filters
Clear Filters

When using the regression learner app is there a way to save a regression learner session when many regressions have been run?

8 views (last 30 days)
When using the regression learner app is there a way to save a regression learner session when many regressions have been run? I have run all the regressions in the regression learner app with many different combinations of variables and want to save the results to study and compare at a later date. Is there a way to do this?

Accepted Answer

Drew
Drew on 31 Jan 2023
  1. In R2022a and higher, Classification Learner and Regression Learner allow saving and loading of the app session. This is for the times you want to resume or share a full app session. In Classification Learner and Regression Learner, you can save the current app session and open a previously saved app session. To save the current app session, click Save in the File section of the Classification Learner or Regression Learner tab. To open a saved app session, click Open in the File section. You can also open a saved app session from the command line. For more information, see Classification Learner and Regression Learner.
  2. In R2022b and higher, Classification Learner and Regression Learner now have a "Results Table" which contains lots of information about all of the models that you have developed in a session. You can use the Results Table controls to add all available columns, and then Export the Results Table to the MATLAB workspace or a csv text file. See https://www.mathworks.com/help/stats/release-notes.html: In the Classification Learner and Regression Learner apps, you can use a table of results to compare models. On the Classification Learner or Regression Learner tab, in the Models section, click Results Table. In the Results Table tab, you can sort models by their training and test results, as well as by their options (such as model type, selected features, PCA, and so on). For more information, see Compare Model Information and Results in Table View (for classification) and Compare Model Information and Results in Table View (for regression).

More Answers (1)

Duncan Lilley
Duncan Lilley on 18 Oct 2017
Hello,
There is currently no direct way to save an existing session within the Regression Learner App. However, to prevent the loss of your work, you can generate the code from your session by selecting "Export Model > Generate Code". This will allow you to replicate the results from your session.
  1 Comment
T4H14
T4H14 on 30 Oct 2017
Thanks for that. It would be great to somehow save the results so that you can save the results of all the model runs or at least the combinations of PCA, features selected, models run and RMSEs so that you can come hack to that work at a later date if one wants to.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!