completeness_score
- sklearn.metrics.completeness_score(labels_true, labels_pred)
Compute completeness metric of a cluster labeling given a ground truth.
A clustering result satisfies completeness if all the data points that are members of a given class are elements of the same cluster.
This metric is independent of the absolute values of the labels: a permutation of the class or cluster label values won’t change the score value in any way.
This metric is not symmetric: switching
label_truewithlabel_predwill return thewhich will be different in general.