We set the number of epochs and patience value as 100 & 20 respectively.
we run the experiments for maximum 100 epochs and if validation loss does not reduce for consecutive 20 epochs training stops and reports the best epoch attained so far.