Datasets#

The imblearn.datasets provides methods to generate imbalanced data.

make_imbalance(X, y, *[, sampling_strategy, ...])

Turn a dataset into an imbalanced dataset with a specific sampling strategy.

fetch_datasets(*[, data_home, filter_data, ...])

Load the benchmark datasets from Zenodo, downloading it if necessary.