An S4 class for differentially-private mechanisms.
A base class for representing output-perturbing mechanisms in differential privacy. As this class is VIRTUAL
it cannot be instantiated, but it can be subclassed.
class
sensitivity
: non-negative scalar numeric target sensitivity. Defaults to Inf
for use with sensitivitySampler()
.target
: the target non-private function to be privatized, takes lists. Defaults to a constant function.gammaSensitivity
: NA_real_
if inactive, or scalar in [0,1) indicating that responses must be RDP with specific confidence.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.
DPMechLaplace
subclass for the Laplace mechanism.
Useful links