Class LDiversityConfig (2.0.2)

LDiversityConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

l-diversity metric, used for analysis of reidentification risk.

Attributes

NameDescription
quasi_ids Sequence[.storage.FieldId]
Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.
sensitive_attribute .storage.FieldId
Sensitive field for computing the l-value.