Python module to balance data set using under- and over-sampling
copied from cf-staging / imbalanced-learnimbalanced-learn is a python package offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance. It is compatible with scikit-learn and is part of scikit-learn-contrib projects.