Python package for SMOTEBoosting algorithm

1.1k Views Asked by At

I am looking for a Python package that implements the SMOTEBoosting algorithm. But I only find SMOTE in imbalanced-learn.

1

There are 1 best solutions below

0
On

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
....