1
$\begingroup$

I have implemented backpropagation algorithm for neural network. The neural network is trained using online stochastic gradient descent. (with regularization). I have used a separate training and validation data sets. would like to know the how to determine the optimum number of epochs. Thanks

$\endgroup$

1 Answer 1

1
$\begingroup$

Empirically. People typically define a patience, i.e. the number of epochs to wait before early stop if no progress on the validation set. The patience is often set somewhere between 10 and 100 (10 or 20 is more common), but it really depends on your dataset and network.

Example with patience = 10:

enter image description here

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.