'perform' function in Deeplearning toolbox

what is the difference between 'perform' and 'tr' in '[net,tr]=train(net,y,t);'

Answers (1)

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 Comment

yeah but it also has performance as well. but is different than the performance i get from using the function perform

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!