7.7.1. mclearn.viz.plot_class_distribution¶
-
mclearn.viz.
plot_class_distribution
(target, ax=None)[source]¶ Plot the distribution of the classes.
Parameters: - target (array) – The target column of the dataset.
- ax (Matplotlib Axes object) – A matplotlib Axes instance.
Returns: ax – The matplotlib Axes instance where the figure is drawn.
Return type: Matplotlib Axes object