Unverified Commit ee5636f1 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[python][docs] Refer to string type as `str` in docstrings (#4565)

parent b765fa6e
...@@ -443,8 +443,8 @@ def _train( ...@@ -443,8 +443,8 @@ def _train(
Initial model score for each validation set in eval_set. Initial model score for each validation set in eval_set.
eval_group : list of Dask Arrays, Dask Series or None, optional (default=None) eval_group : list of Dask Arrays, Dask Series or None, optional (default=None)
Group/query for each validation set in eval_set. Group/query for each validation set in eval_set.
eval_metric : string, callable, list or None, optional (default=None) eval_metric : str, callable, list or None, optional (default=None)
If string, it should be a built-in evaluation metric to use. If str, it should be a built-in evaluation metric to use.
If callable, it should be a custom evaluation metric, see note below for more details. If callable, it should be a custom evaluation metric, see note below for more details.
If list, it can be a list of built-in metrics, a list of custom evaluation metrics, or a mix of both. If list, it can be a list of built-in metrics, a list of custom evaluation metrics, or a mix of both.
In either case, the ``metric`` from the Dask model parameters (or inferred from the objective) will be evaluated and used as well. In either case, the ``metric`` from the Dask model parameters (or inferred from the objective) will be evaluated and used as well.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment