xorbits.xgboost.XGBRegressor.evals_result#
- XGBRegressor.evals_result() Dict[str, Dict[str, List[float]]] #
Return the evaluation results.
If eval_set is passed to the
fit()
function, you can callevals_result()
to get evaluation results for all passed eval_sets. When eval_metric is also passed to thefit()
function, the evals_result will contain the eval_metrics passed to thefit()
function.The returned evaluation result is a dictionary:
{'validation_0': {'logloss': ['0.604835', '0.531479']}, 'validation_1': {'logloss': ['0.41965', '0.17686']}}
- Return type
evals_result
This docstring was copied from xgboost.sklearn.XGBRegressor.