imbalanced-learn
imbalanced-learn copied to clipboard
[MRG]Fix compatibility with scikit-learn 1.8+
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.