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
changed the title
[ci] [python-package] error with latest scikit-learn: " AttributeError: 'Tags' object has no attribute '_xfail_checks'"
[ci] [python-package] more errors from scikit-learn rearranging estimator tags
Nov 12, 2024
FAILED tests/python_package_test/test_sklearn.py::test_stacking_regressor - ValueError: The estimator LGBMRegressor should be a regressor
FAILED tests/python_package_test/test_sklearn.py::test_stacking_classifier - ValueError: 'final_estimator' parameter should be a classifier. Got LGBMClassifier(n_estimators=3)
Description
scikit-learn
recently merged another change to how estimator tags are handled: scikit-learn/scikit-learn#30149As a result, the CI job here testing against
scikit-learn
nightlies is failing like this:(build link)
Reproducible example
N/A
Environment info
Additional Comments
Relevant other discussions:
scikit-learn>=0.24.2
, make scikit-learn estimators compatible withscikit-learn>=1.6.0dev
#6651The text was updated successfully, but these errors were encountered: