I am using tensorflow v1.4. I want to use early stopping using the validation set with a patience of 5 epochs.
I have searched on the web and found out that there used to be a function called ValidationMonitor but it is depreciated now. So is there a way to achieve this ?