StatisticalTable(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An auxiliary table containing statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).
Attributes | |
---|---|
Name | Description |
table |
Required. Auxiliary table location. |
quasi_ids |
Sequence[
Required. Quasi-identifier columns. |
relative_frequency |
Required. The relative frequency column must contain a floating-point number between 0 and 1 (inclusive). Null values are assumed to be zero. |
Classes
QuasiIdentifierField
QuasiIdentifierField(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.