fuzzyclust.incomplete#
Fuzzy clustering of incomplete data.
Real data sets have holes: sensors fail, questionnaires are left blank,
records are merged from sources that do not measure the same things. This
sub-package implements the four strategies of Hathaway and Bezdek (2001)
for running fuzzy c-means on data with missing values (NaN):
IncompleteFCM–strategy="wds"(whole-data: drop incomplete samples),"pds"(partial distances),"ocs"(optimal completion: missing values become optimization variables),"nps"(nearest prototype);partial_distances()– the partial distance of Dixon (1979) behind PDS and the classification of incomplete samples;make_mcar(),make_incomplete_blobs()– plant values missing completely at random;plot_incomplete_clusters(),plot_imputation()– matplotlib helpers.
Fuzzy c-means with missing values: whole-data, partial-distance, optimal-completion and nearest-prototype strategies.
Classes#
|
Fuzzy c-means clustering of incomplete data (Hathaway and Bezdek, 2001). |
Functions#
|
Squared partial distances of (incomplete) samples to prototypes. |
|
Remove values missing completely at random (MCAR) from a data matrix. |
|
Isotropic Gaussian clusters with values missing completely at random. |
|
Scatter plot of a clustering of incomplete 2-D data at the completed coordinates. |
|
Imputed against true values of the missing entries, one color per feature. |
Constants#
Built-in immutable sequence. |