-
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] Add unit tests that signatures are the same between Dask and scikit-learn estimators #3907
Comments
Hey! I would like to work on this. Pretty new to this, but I'm willing to put in the time |
Sure, thank you very much for volunteering! We look forward to your contribution. Please ask here if you need any help. |
Cool, thanks! |
I have a doubt ,
|
I don't understand the question, sorry. You're welcome to open a draft pull request with a proposal when you feel you have something working that accomplishes the goal of this issue. Giving direct feedback on code might be easier than discussing this abstractly. |
ok sure |
…cikit-learn estimators (#3911) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907) * [dask] Add unit tests that signatures are the same between Dask and scikit-learn estimators (fixes #3907)
This issue 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. |
Summary
In a refactoring in #3883, I made a silly mistake and forgot to remove a keyword argument from a method in
DaskLGBMRegressor
.We should have unit tests on the Dask module that check that estimators'
.fit()
and.predict()
methods have a similar signature to their scikit-learn equivalents.Description
The exposed keyword arguments in
.fit()
and.predict()
in the Dask estimators are a subset of all the available keyword arguments in their scikit-learn equivalents.For example,
These tests should check the following:
X
is the first argument afterself
)References
Carried over from this suggestion from @StrikerRUS #3906 (comment).
See
LightGBM/tests/python_package_test/test_dask.py
Line 816 in b1e000c
inspect
to do this.The text was updated successfully, but these errors were encountered: