-
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] support init_score #3807
Comments
Closing this in favor of being in #2302 with other feature requests. Anyone is welcome to contribute this feature. Leave a comment below and it can be re-opened. |
I see this is a method of |
Since you're working on this, I'll open the issue back up. Thanks for looking into it!
I'm not sure what you mean by "method of Dataset", sorry. For a training dataset of shape LightGBM/python-package/lightgbm/sklearn.py Line 194 in 84c4b75
Since the Dask interface only supports LightGBM's scikit-learn interface today, you don't need to do anything with the LightGBM/python-package/lightgbm/dask.py Lines 293 to 296 in 84c4b75
|
Oh I meant the link in the summary points to |
I believe
|
It is not deprecated. If you get that same warning even when doing that, please ignore it. |
fixed by #3950 |
Hi @jameslamb. I'm including the multiclass-classification task and the test for init_score fails because you have to specify an init_score for each class. However, you can't send an So I see two ways of fixing this:
What do you think? |
Please open a new issue describing the problem, with a reproducible example of what happens when you pass an |
Summary
LightGBM allows you to provide initial scores to boost from (https://lightgbm.readthedocs.io/en/latest/pythonapi/lightgbm.Dataset.html?highlight=init_score#lightgbm.Dataset.set_init_score).
This option should be supported in the Dask interface. Dask model classes should accept a dask array, dask dataframe, or Dask dataframe series as input for
init_score
.Motivation
This change would bring the Dask interface closer to full feature parity with the non-Dask interface, so that users who'd otherwise like to use Dask don't have to avoid it because
init_score
is missing.References
Created from this conversation: #3708 (comment)
The text was updated successfully, but these errors were encountered: