From 0552ca8021c5ba8bbe5d8f2fd585423858678d13 Mon Sep 17 00:00:00 2001 From: Harvey Date: Mon, 22 Nov 2021 16:58:45 -0800 Subject: [PATCH] Fix typo (#7469) --- python-package/xgboost/training.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-package/xgboost/training.py b/python-package/xgboost/training.py index 1b75df372..3cb6b2936 100644 --- a/python-package/xgboost/training.py +++ b/python-package/xgboost/training.py @@ -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