7.7.9. mclearn.viz.plot_scatter_with_classes¶
-
mclearn.viz.
plot_scatter_with_classes
(data, targets, classes, size=2, alpha=0.01, scatterpoints=1000, ax=None)[source]¶ Plot a scater plot of the classes.
- data : array
- The target array.
- targets : array
- The list of class names used in the target array.
- ax : Matplotlib Axes object
- A matplotlib Axes instance.
Returns: ax – The matplotlib Axes instance where the figure is drawn. Return type: Matplotlib Axes object