ludwig icon indicating copy to clipboard operation
ludwig copied to clipboard

Allow early stop based on walltime since improvement

Open jppgks opened this issue 2 years ago • 1 comments

This PR:

  • stores the Posix timestamp of the last improvement in ProgressTracker
  • adds a convenience callback implementing should_early_stop that returns True if the given timeout has been reached and no improvement has been made for the given early stopping steps

jppgks avatar Dec 14 '22 14:12 jppgks