fuzzyclust.extensions.plot_typicality#

fuzzyclust.extensions.plot_typicality(X, T, ax=None, cmap='viridis', s=18, label=None, **kwargs)[source]#

Scatter plot colored by the maximal typicality \(\max_i t_{ik}\) of every sample.

Low values single out outliers: samples that are atypical of every cluster. Works for any matrix of absolute memberships (PCM membership_, PFCM typicality_, or 1 - noise_membership_).

Parameters:
Xarray_like of shape (n_samples, 2)
Tarray_like of shape (n_samples, n_clusters) or (n_samples,)
labelstr, optional

Color-bar label; defaults to \(\max_i t_{ik}\).

Examples using fuzzyclust.extensions.plot_typicality#

Possibilistic c-means: typicalities, scales and coincident clusters

Possibilistic c-means: typicalities, scales and coincident clusters

Possibilistic fuzzy c-means: memberships and typicalities together

Possibilistic fuzzy c-means: memberships and typicalities together

Noise clustering: a virtual cluster at constant distance δ

Noise clustering: a virtual cluster at constant distance δ