-
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
[dask] [python-package] include support for column array as label #3943
Conversation
Hi @jameslamb. Can you give me your thoughts on these changes? |
Thanks so much for looking into this!
Can you please add tests (one in |
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.
Thanks! The fix looks good to me. I left some suggestions for making the tests a bit stronger.
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.
changes look good to me, thanks for picking this up!
Thank you for your help, James! I just realized I wasn't fitting to the column array in the test for dask so I fixed that. |
@jmoralez sorry again, but can you please merge |
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.
Nice job! Thank you very much!
Thank you for your comments! |
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. |
This solves #3909 by allowing to have an
(n_samples, 1)
array as label whendata
is apandas.DataFrame
.