Info

This question is closed. Reopen it to edit or answer.

Performance errors for neural networks

1 view (last 30 days)
Fabrizio Bernardi
Fabrizio Bernardi on 29 Oct 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello eveyone, I saw that in shallow ANN, after training a network, I can see Training,Validation and testing performances using
plotperf(tr);
However, in my case I created a regression output layer to have a customized Loss function, and I used for training progress something like
options = trainingOptions('adam', ...
'MaxEpochs',50, ...
'GradientThreshold',2, ...
'InitialLearnRate',0.003, ...
'LearnRateSchedule','piecewise', ...
'LearnRateDropPeriod',33, ...
'LearnRateDropFactor',0.75,...
'Verbose',1, ...
'MiniBatchSize',50, ...
'Plots','training-progress');
net = trainNetwork(myInput,myTarget,layers,options);
Is it possible from this to have some functions that allows me to have a similiar perfomance plot as in the case of plotperform? Or a struct like tr?
Thank you for your help!
  2 Comments
Aditya Patil
Aditya Patil on 17 Nov 2020
What issues did you face with 'Plots','training-progress' argument?
Fabrizio Bernardi
Fabrizio Bernardi on 17 Nov 2020
I wanted to include validation as well, but I only now have seen the option to includit through XValidation and Yvalidation data! All solved, thanks for your time!

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!