'perform' function in Deeplearning toolbox

14 vues (au cours des 30 derniers jours)
Abdulaziz Almershed
Abdulaziz Almershed le 4 Jan 2021
what is the difference between 'perform' and 'tr' in '[net,tr]=train(net,y,t);'

Réponses (1)

Uday Pradhan
Uday Pradhan le 6 Jan 2021
Hi Abdulaziz,
The "perform" function returns the performance of the trained network calculated according to the net.performFcn and net.performParam property values.
The output argument "tr" is a structure which contains information in fields such as:
  • Training, data division, and performance functions and parameters
  • Data division indices for training, validation and test sets
  • Data division masks for training validation and test sets
  • Number of epochs (num_epochs) and the best epoch (best_epoch).
Please refer to their respective documentation for more information : train shallow neural networks, perform. I hope this helps!
  1 commentaire
Abdulaziz Almershed
Abdulaziz Almershed le 17 Fév 2021
yeah but it also has performance as well. but is different than the performance i get from using the function perform

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by