'perform' function in Deeplearning toolbox

5 Ansichten (letzte 30 Tage)
Abdulaziz Almershed
Abdulaziz Almershed am 4 Jan. 2021
what is the difference between 'perform' and 'tr' in '[net,tr]=train(net,y,t);'

Antworten (1)

Uday Pradhan
Uday Pradhan am 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 Kommentar
Abdulaziz Almershed
Abdulaziz Almershed am 17 Feb. 2021
yeah but it also has performance as well. but is different than the performance i get from using the function perform

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by