MATLAB Answers

what does Validation Patience mean in training Option?

조회 수: 20(최근 30일)
NGR MNFD
NGR MNFD 2021년 8월 8일
답변: Esen Ozbay 2021년 8월 10일
hi all
what dose ValidationPatience mean in trainingOption? and how I should use the number of it? i do not understand help of mathwork in this field. thanks

답변(1개)

Esen Ozbay
Esen Ozbay 2021년 8월 10일
Validation patience is the number of epochs that the algorithm tries to improve the performance before giving up (if the error is not decreasing).
For example:
Epoch: ... 191 192 193 194 195 196 197 198 199 200 201 202 203 204
Performance ... 10 9 2 1.2 1.2 1.2 1.2 0.8 0.7 0.7 0.7 0.7 0.7 0.7
In this case, if validation patience were 2, the algorithm would stop at epoch 196. If it were 5, it would stop at epoch 204.
Normally, it is assumed that if the performance does not decrease for a few epochs in a row, then a minimum has been found. However, in rare cases where the minimum can be surpassed with some 'patience', a high number for validation patience can help the network attain lower performances.
There is a trade off between waiting a long time for nothing and missing out on better performances.
I personally leave ValidationPatience at 6.

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by