[mistake in docs] Deep learning trainingOptions.ValidationPatience is not Inf by default
1 view (last 30 days)
Show older comments
'ValidationPatience' — Patience of validation stopping
Inf (default) | positive integer
Running this code:
trainingOptions('sgdm')
results in:
Momentum: 0.9000
InitialLearnRate: 0.0100
LearnRateScheduleSettings: [1×1 struct]
L2Regularization: 1.0000e-04
GradientThresholdMethod: 'l2norm'
GradientThreshold: Inf
MaxEpochs: 30
MiniBatchSize: 128
Verbose: 1
VerboseFrequency: 50
ValidationData: []
ValidationFrequency: 50
ValidationPatience: 5
Shuffle: 'once'
CheckpointPath: ''
ExecutionEnvironment: 'auto'
WorkerLoad: []
OutputFcn: []
Plots: 'none'
SequenceLength: 'longest'
SequencePaddingValue: 0
Where ValidationPatience is 5...
Just letting you know...
0 Comments
Accepted Answer
Tish Sheridan
on 5 Nov 2018
Thanks for confirming. The doc for your 18a release shows the old default to match the code you are seeing: https://www.mathworks.com/help/releases/R2018a/nnet/ref/trainingoptions.html#mw_c2ab36f1-691f-40d4-b894-cba9f7b27100 The doc for 18b shows the new default. The web doc always shows the current release. You can see the doc for your release by clicking Other Releases on the doc home page to get here: https://www.mathworks.com/help/doc-archives.html
0 Comments
More Answers (1)
Tish Sheridan
on 5 Nov 2018
Hello - what version are you running? Starting in R2018b, the default 'ValidationPatience' changed to Inf. For more detail see under "Functionality being removed or changed" in the 18b release notes here: Release notes
See Also
Categories
Find more on Image Data Workflows 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!