check_target_label_and_n_target_samples

imbalanced_ensemble.utils.check_target_label_and_n_target_samples(y, target_label, n_target_samples, sampling_type)

Jointly check target_label and n_target_samples parameters.