Saving Classification Learner Results

16 views (last 30 days)
MByk
MByk on 11 Jul 2018
Commented: Drew on 18 Oct 2022
Is there a way to save (export) the classification learner results (history and current model window values) in txt (or word or pdf or xls) format? Thanks for the help.
  3 Comments
MByk
MByk on 12 Jul 2018
So the answer is no? :(
Drew
Drew on 18 Oct 2022
As of R2022b, the answer is yes, as seen in the answer below, by adding all columns to the Results Table, and exporting the Results Table to a text csv file (or the MATLAB workspace).

Sign in to comment.

Accepted Answer

Drew
Drew on 18 Oct 2022
  1. 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).
  2. On a related note, 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.
  1 Comment
MByk
MByk on 18 Oct 2022
Good news. I'm using R2022b. Thank you for letting me know.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!