multidim.models.GaussianMixtureClassifier.plot¶
-
GaussianMixtureClassifier.
plot
(canvas, style='covertree')[source]¶ Plot a CDER model, using matplotlib or bokeh
There are several options to help visualize various aspects of the model. Typically, one wants to overlay this with the plots from the underlying
multidim.PointCloud
andmultidim.covertree.CoverTree
objects.Parameters: - canvas : object
An instance of
bokeh.plotting.figure.Figure
as incanvas = bokeh.plotting.figure()
or an instance ofmatplotlib.axes._subplots.AxesSubplot
as inaxes,canvas = matplotlib.pyplot.subplots()
- style : str
options are “gaussians”, “covertree”, “heatmap”, “hulls”, “expatriots”, and “predictions”. Colors are generally obtained from the label names.