diff --git a/python-package/xgboost/training.py b/python-package/xgboost/training.py index 3204dc2b3..611a7fbff 100644 --- a/python-package/xgboost/training.py +++ b/python-package/xgboost/training.py @@ -122,7 +122,7 @@ def train(params, dtrain, num_boost_round=10, evals=(), obj=None, feval=None, stopping. If there's more than one metric in the **eval_metric** parameter given in **params**, the last metric will be used for early stopping. - If early stopping occurs, the model will have three additional fields: + If early stopping occurs, the model will have two additional fields: ``bst.best_score``, ``bst.best_iteration``. evals_result: dict This dictionary stores the evaluation results of all the items in watchlist.