| DPMechLaplace-class {diffpriv} | R Documentation |
An S4 class for the Laplace mechanism of differential privacy.
Description
A class that implements the basic Laplace mechanism of differential privacy, for privatizing numeric vector releases.
Usage
## S4 method for signature 'DPMechLaplace'
show(object)
Arguments
object |
an instance of class |
Methods (by generic)
-
show: automatically prints the object.
Slots
sensitivitynon-negative scalar numeric L1 target sensitivity. Defaults to
Inffor use withsensitivitySampler().targetthe target non-private function to be privatized, takes lists. Defaults to a constant function. Laplace mechanism assumes functions that release numeric vectors of fixed dimension
dims.gammaSensitivityNA_real_if inactive, or scalar in [0,1) indicating that responses must be RDP with specific confidence.dimspositive scalar numeric dimension of responses. Defaults to
NA_integer_for use withsensitivitySampler()which can probetargetto determine dimension.
References
Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith. "Calibrating noise to sensitivity in private data analysis." In Theory of Cryptography Conference, pp. 265-284. Springer Berlin Heidelberg, 2006.