how to plot MSE for train and test?
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
How to plot MSE for train and test data? (need no curve for validation)Just want a comparison of these two.
Should the MSE curves for train and test meet eachother at some epoch or should they have many points in common to could say the networks is doing well?
Thanks
0 Kommentare
Akzeptierte Antwort
Greg Heath
am 31 Dez. 2012
close all, clear all, clc, plt=0;
[x,t] = simplefit_dataset;
net = fitnet(10);
rng(0)
[net tr ] = train(net, x, t);
plt = plt+1, figure(plt), hold on;
plot(log(tr.perf),'b', 'LineWidth', 2)
% plot(log(tr.vperf),'g', 'LineWidth', 2)
plot(log(tr.tperf),'r', 'LineWidth', 2)
Thank you for formally accepting my answer
Greg
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!