-
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 custom objective functions #3934
Comments
Closing this in favor of putting it in #2302 with other feature requests. Anyone is welcome to pick up this feature! Please comment if interested and the issue can be re-opened. |
Re-opening this as I'm working on this one right now. |
* add test for custom objective with regressor * add test for custom binary classification objective with classifier * isort * got tests working for multiclass * update docs * train deeper model for classifier * Apply suggestions from code review Co-authored-by: José Morales <[email protected]> * Apply suggestions from code review Co-authored-by: Nikita Titov <[email protected]> * update multiclass tests * Apply suggestions from code review Co-authored-by: Nikita Titov <[email protected]> * fix multiclass probabilities * linting Co-authored-by: José Morales <[email protected]> Co-authored-by: Nikita Titov <[email protected]>
This issue has been automatically locked since there has not been any recent activity since it was closed. |
Summary
The Dask estimators in
lightgbm.dask
should support the use of a custom objective function.Motivation
This feature would bring Dask estimators closer to parity with the sklearn estimators.
Description
I haven't thought through this much yet, just writing up a placeholder issue for discussion. If you're reading this and have ideas, please comment and the issue can be re-opened.
References
See
LightGBM/python-package/lightgbm/sklearn.py
Lines 430 to 453 in 15916a9
Can look at how
xgboost.dask
handles this for inspiration:The text was updated successfully, but these errors were encountered: