fuzzyclust.incomplete.plot_incomplete_clusters#
- fuzzyclust.incomplete.plot_incomplete_clusters(X_completed, labels, mask, centers=None, ax=None, legend=True, **kwargs)[source]#
Scatter plot of a clustering of incomplete 2-D data at the completed coordinates.
Complete samples are drawn as filled dots, samples with a missing value as hollow markers at their completed (imputed) coordinates; a sample whose feature
jwas missing therefore sits at the imputed position along axisj.- Parameters:
- X_completedarray_like
ofshape(n_samples, 2) Completed data (e.g.
model.X_completed_).- labelsarray_like
ofshape(n_samples,) Hard labels.
- maskarray_like
ofboolofshape(n_samples, 2) Truewhere a value was missing (model.missing_mask_).- centersarray_like
ofshape(n_clusters, 2),optional - ax
matplotlibAxes,optional - legendbool, default=True
- **kwargs
Passed to
fuzzyclust.plotting.plot_clusters()for the complete samples.
- X_completedarray_like
- Returns:
- ax
matplotlibAxes
- ax
Examples using fuzzyclust.incomplete.plot_incomplete_clusters#
Clustering incomplete data: the four strategies of Hathaway and Bezdek
Clustering incomplete data: the four strategies of Hathaway and Bezdek