❖ DPResponseRandomizer
Compatibility: categorical data
The DPResponseRandomizer uses differential privacy techniques to add noise to your data. It adds noise to categorical data using the randomized response mechanism.
As a result, the entire column of transformed data will have differential privacy guarantees. (This transformer does not do anything on the reverse transform, as it is not possible to undo the differential privacy noise.)

from rdt.transformers.categorical import DPResponseRandomizer
transformer = DPResponseRandomizer(epsilon=1.5)Parameters
(required) epsilon: A float >0 that represents the privacy loss budget you are willing to accommodate.
FAQ
Last updated
