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

4 views (last 30 days)
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

Answers (1)

Aditya Patil
Aditya Patil on 23 Dec 2020
You can save the plots generated during training using "OutputFcn" field as mentioned in this answer.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!