evalml.preprocessing.target_distribution

evalml.preprocessing.target_distribution(targets)[source]

Get the target distributions.

Parameters

targets (pd.Series) – Target data

Returns

Target data and their frequency distribution as percentages.

Return type

pd.Series