Commit 8dde2310 authored by Preston Parry's avatar Preston Parry Committed by Guolin Ke
Browse files

minor update to language for early stopping (#672)

thanks for building in early_stopping! super useful.
parent 13ce3dc5
......@@ -172,7 +172,7 @@ def early_stopping(stopping_rounds, verbose=True):
raise ValueError('For early stopping, at least one dataset and eval metric is required for evaluation')
if verbose:
msg = "Train until valid scores didn't improve in {} rounds."
msg = "Training until validation scores don't improve for {} rounds."
print(msg.format(stopping_rounds))
for eval_ret in env.evaluation_result_list:
......
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