lifecycles.algorithms.facet_outflow¶
- facet_outflow(target: set, reference: list) float¶
the outflow facet is the ratio of the number of elements in the target set that are not in any of the reference sets
- Parameters:
target – the target set
reference – the reference sets
- Returns:
the outflow facet
- Example:
>>> facet_outflow({1,2,3},[{1,2,3},{4,5,6}]) 0.5