bernstein on: Bernstein approximations and use of DPMechBernstein for private function release.S3 constructor and predict() generic implementation for fitting (non-iterated) Bernstein polynomial function approximations.DPMechBernstein class implementing the Bernstein mechanism of Alda and Rubinstein (AAAI’2017), for privately releasing functions.DPMechLaplace
DPMechGaussian class for the generic Gaussian mechanism to README, Vignette. Resolves #2releaseResponse() method in DPMechNumeric. Resolves #1DPMechGaussian class implementing the Gaussian mechanism, which achieves (epsilon,delta)-differential privacy by adding Gaussian noise to numeric responses calibrated by L2-norm sensitivity.DPMechGaussian and DPMechLaplace underneath a new VIRTUAL class DPMechNumeric which contains common methods, dims slot (formerly dim changed because dim is a special slot for S4).DPMechLaplace objects can now be initialized without specifying non-private target response dim. In such cases, the sensitivity sampler will perform an additional target probe to determine dim.