- 'best-validation-loss' – Return the network corresponding to the training iteration with the lowest validation loss. To use this option, you must specify 'ValidationData'.
How to change training and plotting options when training a deep network?
조회 수: 11(최근 30일)
I have Matlab R2021a and I need to modify the option ‘OutputNetwork’ from the default ('last-iteration') into 'best-validation-loss' in trainingOptions by using this command:
options = trainingOptions('OutputNetwork', 'best-validation-loss');
but this option is not found in matlab R2021a. Could you please help me?
Mohammad Sami 2021년 11월 12일
From matlab documentation, you can only use this option if you specified validation data as well.