Fix typo (#7469)
This commit is contained in:
parent
176110a22d
commit
0552ca8021
@ -39,7 +39,7 @@ def _configure_custom_metric(
|
|||||||
)
|
)
|
||||||
if feval is not None and custom_metric is not None:
|
if feval is not None and custom_metric is not None:
|
||||||
raise ValueError(
|
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
|
eval_metric = custom_metric if custom_metric is not None else feval
|
||||||
return eval_metric
|
return eval_metric
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user