lifecycles.algorithms.facet_metadata¶
- facet_metadata(target_labels: list, reference_labels: list, base: int | None = None) float | None¶
compute the change in attribute entropy between a target set and a reference set
- Parameters:
target_labels – the labels of the target set
reference_labels – the labels of the reference sets (a list of lists)
base – the base of the logarithm
- Returns:
the change in attribute entropy