ClassImbalanceDataCheck.
__init__
are below 2 times the number of cv folds
threshold (float) – The minimum threshold allowed for class imbalance before a warning is raised. A perfectly balanced dataset would have a threshold of (1/n_classes), ie 0.50 for binary classes. Defaults to 0.10
num_cv_folds (int) – The number of cross-validation folds. Must be positive. Choose 0 to ignore this warning.