ClassImbalance.run_logic#

ClassImbalance.run_logic(context: Context, dataset_kind) CheckResult[source]#

Run the check.

Returns
CheckResult

value of result is a dict of all unique labels with number of unique values in format {label: number_of_uniques} display is a series with labels and their normalized count