Info

此问题已关闭。 请重新打开它进行编辑或回答。

Performance errors for neural networks

1 次查看(过去 30 天)
Fabrizio Bernardi
Fabrizio Bernardi 2020-10-29
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Aditya Patil
Aditya Patil 2020-11-17
What issues did you face with 'Plots','training-progress' argument?
Fabrizio Bernardi
Fabrizio Bernardi 2020-11-17
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!

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by