[doc] Fix early stopping document. (#7334)
This commit is contained in:
parent
4fd149b3a2
commit
c42e3fbcf3
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user