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 j was missing therefore sits at the imputed position along axis j.

Parameters:
X_completedarray_like of shape (n_samples, 2)

Completed data (e.g. model.X_completed_).

labelsarray_like of shape (n_samples,)

Hard labels.

maskarray_like of bool of shape (n_samples, 2)

True where a value was missing (model.missing_mask_).

centersarray_like of shape (n_clusters, 2), optional
axmatplotlib Axes, optional
legendbool, default=True
**kwargs

Passed to fuzzyclust.plotting.plot_clusters() for the complete samples.

Returns:
axmatplotlib Axes

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