Skip to content

Commit

Permalink
Fix typo (#7469)
Browse files Browse the repository at this point in the history
  • Loading branch information
bolongcheng authored Nov 23, 2021
1 parent 176110a commit 0552ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/xgboost/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _configure_custom_metric(
)
if feval is not None and custom_metric is not None:
raise ValueError(
"Bost `feval` and `custom_metric` are supplied. Use `custom_metric` instead."
"Both `feval` and `custom_metric` are supplied. Use `custom_metric` instead."
)
eval_metric = custom_metric if custom_metric is not None else feval
return eval_metric
Expand Down

0 comments on commit 0552ca8

Please sign in to comment.