-
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
[RFC][R-package] Request: provide more idiomatic interface #4295
Comments
Thank you for your interest in LightGBM, and for writing this up! In the future, please link to previous conversations when you create new issues from them, as this helps us to keep track of the many conversations in this project. Specifically, I believe the content of this issue is very closely related to #42007 and #4207 (comment).
Have you seen Does that package's interface satisfy the first two items (accept a formula, use non-standard evaluation for column names)? If not, it would be very helpful if you could provide code examples describing how you would like
Is there a standard in the R ecosystem that you recommend |
Yes, A good standard to follow would be Tidymodel's guidelines for modeling packages:
|
LightGBM for R has an interface which requires creating a dataset object from an R native type, and passing this custom type to the model training function. The prediction functions then take native R objects instead.
This interface is inconvenient to use, and is very different from what base R or typical R packages for decision trees (or classification/regresssion in general) have as interface.
Would be better if lightgbm could offer a more idiomatic interface, like
ranger
for example, which among others:The text was updated successfully, but these errors were encountered: