lisa-lab/DeepLearningTutorials — pull request #59 by kyunghyuncho (2014-12-20 23:10:18+00:00)
Title: early stop kicks in only after patience+1 validation runs

This part of the code was assuming that validFreq is either -1 or the number of training batches. This simply guarantees that the early-stopping will kick in only once at least patience number of validation runs were made.