-
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
[R-package] deprecate lgb.prepare() and lgb.prepare2() #3095
Conversation
a26f7b7
to
937edfa
Compare
gently ping @Laurae2 for a review |
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.
Copy-paste typo to fix for lgb.prepare_rules
.
937edfa
to
51c349e
Compare
@jameslamb please check my comments inline. |
I just merged |
I've merged in the changes from #3188 . This is ready for review. |
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.
Glad to see API simplification!
Co-authored-by: Nikita Titov <[email protected]>
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.
Fix description / comment, then we can merge whenever ready
@StrikerRUS have you also seen this recently on AppVeyor? |
Nope... |
ok, hopefully it was just something transient. I don't see any incidents on AppVeyor: https://status.appveyor.com/ |
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. |
Part of #3075 .
lgb.prepare()
andlgb.prepare2()
have a lot of code overlap and it could be confusing to know which one to use.To reduce the public API of the R package and make it easier for uses to understand how too get from their raw data to a trained model, this PR deprecates
lgb.prepare()
andlgb.prepare_rules()
in favor oflgb.prepare2()
andlgb.prepare_rules2()
. They'll be removed completely in LightGBM 3.0.0 (#3071 )