-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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] Improve error message for plot_metric with Booster #4709
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@js850 Thanks a lot for raising the issue about ambiguity in the docs you've noticed and for fixing it! However, I've suggested two small improvements below to the current wording.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@js850 LGTM! Thank you very much for your contribution!
Won't merge before @shiyu1994's review (#4709 (comment)). |
This pull request 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. |
If plot_metric is used with the Booster type, throw an error explaining how to correctly plot metrics using Booster.
This addresses issue #4702 .