def homogeneity_score(labels_true, labels_pred):
 return homogeneity_completeness_v_measure(labels_true, labels_pred)[0]

def homogeneity_score ( labels_true , labels_pred ) : return homogeneity_completeness_v_measure ( labels_true , labels_pred ) [ 0 ]
homogeneity metric of a cluster labeling given a ground truth .