evalml.preprocessing.label_distribution

evalml.preprocessing.label_distribution(labels)[source]

Get the label distributions

Parameters

labels (pd.Series) – Label values

Returns

Label values and their frequency distribution as percentages.

Return type

pd.Series