I am looking for a Python package that implements the SMOTEBoosting algorithm. But I only find SMOTE in imbalanced-learn.
Asked
Active
Viewed 967 times
2
-
1`SMOTE-Boost` is an open issue on `imblearn` (see [issue #105](https://github.com/scikit-learn-contrib/imbalanced-learn/issues/105)). Contributions are welcome! – Alexander L. Hayes Nov 28 '20 at 15:09
1 Answers
0
Find here an implementation of SMOTEBoost based on sklearn
's AdaBoost API.
Note looking at the source, this library supports binary problem only
...
if minority_target is None:
# Determine the minority class label.
stats_c_ = Counter(y)
maj_c_ = max(stats_c_, key=stats_c_.get)
min_c_ = min(stats_c_, key=stats_c_.get)
self.minority_target = min_c_
else:
self.minority_target = minority_target
....

arilwan
- 3,374
- 5
- 26
- 62