Fix typo - eval_metric in param should be dictionary (#1791)
This commit is contained in:
parent
090b37e85d
commit
ca0069b708
@ -148,7 +148,7 @@ def train(params, dtrain, num_boost_round=10, evals=(), obj=None, feval=None,
|
|||||||
evals_result: dict
|
evals_result: dict
|
||||||
This dictionary stores the evaluation results of all the items in watchlist.
|
This dictionary stores the evaluation results of all the items in watchlist.
|
||||||
Example: with a watchlist containing [(dtest,'eval'), (dtrain,'train')] and
|
Example: with a watchlist containing [(dtest,'eval'), (dtrain,'train')] and
|
||||||
a paramater containing ('eval_metric', 'logloss')
|
a paramater containing ('eval_metric': 'logloss')
|
||||||
Returns: {'train': {'logloss': ['0.48253', '0.35953']},
|
Returns: {'train': {'logloss': ['0.48253', '0.35953']},
|
||||||
'eval': {'logloss': ['0.480385', '0.357756']}}
|
'eval': {'logloss': ['0.480385', '0.357756']}}
|
||||||
verbose_eval : bool or int
|
verbose_eval : bool or int
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user