How could I plot a "learning curve" using the "Statistic and Machine Learning toolbox"?

Hello everyone,
my purpouse is to plot the learning curve (n° of dataset example vs. train/validation error) after I've trained a regression model using the specified toolbox.
As you know, the toolbox will give you just the best RMSE value for a given model, what I need is the entire set of RMSE for both the training set and validation set.
Do you have any suggestion?
Thank you so much.
Regards
Riccardo

Risposte (1)

You can save the plots generated during training using "OutputFcn" field as mentioned in this answer.

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2020b

Richiesto:

il 23 Nov 2020

Risposto:

il 23 Dic 2020

Community Treasure Hunt

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

Start Hunting!

Translated by