Skip to content

Commit

Permalink
update lock
Browse files Browse the repository at this point in the history
  • Loading branch information
wistuba committed Jun 29, 2024
1 parent 066eb68 commit 79fb0f5
Show file tree
Hide file tree
Showing 3 changed files with 3,528 additions and 3,211 deletions.
4 changes: 1 addition & 3 deletions fortuna/training/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ def early_stopping_update(
early_stopping_monitor = validation_metrics[self.early_stopping_monitor]
if self.early_stopping_mode == "max":
early_stopping_monitor = -early_stopping_monitor
self._early_stopping = self._early_stopping.update(
early_stopping_monitor
)
self._early_stopping = self._early_stopping.update(early_stopping_monitor)
improved = self._early_stopping.has_improved
return improved

Expand Down
Loading

0 comments on commit 79fb0f5

Please sign in to comment.