ZhiningLiu1998 / imbalanced-ensemble

🛠️ Class-imbalanced Ensemble Learning Toolbox. | 类别不平衡/长尾机器学习库
https://imbalanced-ensemble.readthedocs.io
MIT License
326 stars 51 forks source link

[BUG] Bagging-based methods do not work with base clf that do not support sample_weight #5

Closed ZhiningLiu1998 closed 2 years ago

ZhiningLiu1998 commented 2 years ago

Resampling + Bagging clf (e.g., OverBagging) raises error when used with base estimators that do not support sample_weight (e.g., sklearn.KNeighborsClassifier).

ZhiningLiu1998 commented 2 years ago

@all-contributors please add @ZhiningLiu1998 for the maintenance and bug reports

allcontributors[bot] commented 2 years ago

@ZhiningLiu1998

I've put up a pull request to add @ZhiningLiu1998! :tada: