mlchem.ml.preprocessing.undersampling.check_class_balance

check_class_balance(y_train: Iterable) None

Check and print the class distribution in training labels.

Parameters:

y_train (Iterable) – Training target values.

Return type:

None