-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[python] No evaluation result shown during training even setting verbose=2 #5028
Comments
To narrow the problem: version
Output for nightly build:
|
OK, I got it. The problem is in dropped support of additional arguments of the The "fix" is just to refactor the last line in the original code snipped in the following way: ...
callbacks = [lgb.log_evaluation()]
booster = lgb.train(train_set=train_data, valid_sets=[valid_data], valid_names=["valid"], params=params, fobj=fobj, callbacks=callbacks) |
I believe this issue can be closed. |
@StrikerRUS Thanks for you explanation, I'll close this. |
This should be added to the docs in an easy to be found way. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Description
With the latest master branch, evaluation results are not shown during training even when verbose=2.
Reproducible example
The following code won't show any RMSE values during training.
Environment info
LightGBM version or commit hash:
Latest master branch
Command(s) you used to install LightGBM:
Install from source.
The text was updated successfully, but these errors were encountered: