Categorical (CategoricalGenerator)
The Categorical generator creates values at the same frequency and using the same values, including NULL values, as the underlying data. In other words, it shuffles the existing values within a field.
Link object structure
The Categorical generator does not support consistency. You can configure differential privacy. You can link columns.
The metadata
object is populated from the CategoricalMetadata
object. It contains the epsilon
field, which provides the privacy budget for differential privacy.
Example replacement
The following example replacement shows a single, un-linked column. Differential privacy is enabled, and epsilon
is set to 1.
Last updated