DPMechGaussian-class {diffpriv} | R Documentation |
An S4 class for the Gaussian mechanism of differential privacy.
Description
A class that implements the Gaussian mechanism of differential privacy, for privatizing numeric vector releases.
Usage
## S4 method for signature 'DPMechGaussian'
show(object)
Arguments
object |
an instance of class |
Methods (by generic)
-
show
: automatically prints the object.
Slots
sensitivity
non-negative scalar numeric L2 target sensitivity. Defaults to
Inf
for use withsensitivitySampler()
.target
the target non-private function to be privatized, takes lists. Defaults to a constant function. Gaussian mechanism assumes functions that release numeric vectors of fixed dimension
dims
.gammaSensitivity
NA_real_
if inactive, or scalar in [0,1) indicating that responses must be RDP with specific confidence.dims
positive scalar numeric dimension of responses. Defaults to
NA_integer_
for use withsensitivitySampler()
which can probetarget
to determine dimension.
References
Cynthia Dwork and Aaron Roth. "Algorithmic Foundations of Differential Privacy" Foundations and Trends in Theoretical Computer Science. Now Publishers, 2014.