imbalanced-learn icon indicating copy to clipboard operation
imbalanced-learn copied to clipboard

[MRG]Fix compatibility with scikit-learn 1.8+

Open stratakis opened this issue 1 month ago • 0 comments

scikit-learn 1.8.0+ removed the algorithm parameter from AdaBoostClassifier and changed the function signature of _check_targets().

https://github.com/scikit-learn/scikit-learn/pull/32262 https://github.com/scikit-learn/scikit-learn/pull/31701

The changes maintain compatibility with previous version of scikit-learn

What does this implement/fix? Explain your changes.

This fixes compatibility with scikit-learn 1.8.0+

Any other comments?

Tested on Fedora with scikit-learn 1.8.0rc1 as well as 1.7.2 and Python 3.14. All tests passed.

stratakis avatar Dec 03 '25 23:12 stratakis