Stopper.which_best_in_recent_history()

Stopper.which_best_in_recent_history()#

Stopper.which_best_in_recent_history(i, loss_history)[source]#

Identifies the index of the best observation in recent history.

Recent history includes the last p iterations looking backwards from the current iteration ì`., where p is the patience.