lifecycles.algorithms.facet_unicity¶
- facet_unicity(labels: list) float¶
the unicity facet quantifies the extent to which a target set comes from one (=1) or multiple (->0) flows. It is computed as the difference between the largest and the second largest group size If the target set is composed of a single group, the unicity facet is 1
- Parameters:
labels – the list of group labels
- Returns:
the unicity facet