Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jan 8, 2024
1 parent 08cfb50 commit 6b2c19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/guide-python/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _get_key(self, data: str, metric: str) -> str:
return f"{data}-{metric}"

def after_iteration(
self, model: xgb.Booster, epoch: int, evals_log: dict[str, dict]
self, model: xgb.Booster, epoch: int, evals_log: Dict[str, dict]
) -> bool:
"""Update the plot."""
if not self.lines:
Expand Down

0 comments on commit 6b2c19c

Please sign in to comment.