Skip to content

Commit

Permalink
upcate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
matsuken92 committed Mar 14, 2019
1 parent ba2c25e commit 1e75a1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python-package/lightgbm/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ def _callback(env):
best_iter[i] + 1, '\t'.join([_format_eval_result(x) for x in best_score_list[i]])))
raise EarlyStopException(best_iter[i], best_score_list[i])
if first_metric_only:
# if first_metrics_only==True, then the only first metrics is used for early stopping
break
_callback.order = 30
return _callback

0 comments on commit 1e75a1a

Please sign in to comment.