fuzzyclust.incomplete.plot_imputation#
- fuzzyclust.incomplete.plot_imputation(X_true, X_completed, mask, ax=None, feature_names=None)[source]#
Imputed against true values of the missing entries, one color per feature.
- Parameters:
- X_truearray_like
ofshape(n_samples,n_features) The complete data.
- X_completedarray_like
ofshape(n_samples,n_features) The completed data (
model.X_completed_).- maskarray_like
ofboolofshape(n_samples,n_features) Truewhere a value was missing.- ax
matplotlibAxes,optional - feature_namessequence
ofstr,optional
- X_truearray_like
- Returns:
- ax
matplotlibAxes
- ax
Examples using fuzzyclust.incomplete.plot_imputation#
Imputation by clustering: accuracy of the completed values
Imputation by clustering: accuracy of the completed values