You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jameslamb I think that #6651 will fix the first issue you are quoting: the min_data_in_bin one. Reason is it's being raised because the tag to not check parameters defined outside of BaseClassifier subclass constructor is missing because of not using the new __sklearn_tags__ API, note that one the tags is an xfail bypass: "check_no_attributes_set_in_init": "scikit-learn incorrectly asserts that private attributes "
edit: and likewise for LGBMClassifier doesn't check for NaN and inf in fit. with the allow_nan flag.
it's being raised because the tag to not check parameters defined outside of BaseClassifier subclass constructor is missing because of not using the new __sklearn_tags__ API
Ah yep, you are right! I agree with your analysis, thank you.
Description
Starting a few days ago, the scikit-learn compatibility checks here have been failing with the following errors:
And the same for
LGBMRegressor
.This is only happening with the
1.6.dev0
nightlies ofscikit-learn
.Reproducible example
This is happening across all pull requests here, even those not related to the Python package in any way. For example, build log from #6648: https://github.com/microsoft/LightGBM/actions/runs/10776737786/job/29884208680?pr=6648
Environment info
installed packages (click me)
build link: https://github.com/microsoft/LightGBM/actions/runs/10776737786/job/29884208680?pr=6648#step:4:140
Additional Comments
Where this test is configured:
LightGBM/.github/workflows/python_package.yml
Line 93 in 41ba9e8
@vnherdeiro started investigating 1 of the 3 issues (the one about
_more_tags()
) in #6651. Some notes from there:Other related discussions:
The text was updated successfully, but these errors were encountered: