Commit c1fc76b0 authored by Preston Parry's avatar Preston Parry Committed by Nikita Titov
Browse files

Clarify docs for feval (#1373)

* Clarify docs for feval

* docs- adds that feval can be a string

* docs- deletes extraneous space
parent 899151fc
......@@ -38,9 +38,11 @@ def train(params, train_set, num_boost_round=100,
Names of ``valid_sets``.
fobj : callable or None, optional (default=None)
Customized objective function.
feval : callable or None, optional (default=None)
feval : callable, string or None, optional (default=None)
Customized evaluation function.
Should accept two parameters: preds, train_data.
Note: should return (eval_name, eval_result, is_higher_better) or list of such tuples.
To ignore the default metric in params, set it to the string ``"None"``
init_model : string or None, optional (default=None)
Filename of LightGBM model or Booster instance used for continue training.
feature_name : list of strings or 'auto', optional (default="auto")
......
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