Package: diffpriv 0.4.2.9000


Benjamin Rubinstein
diffpriv: Easy Differential Privacy
An implementation of major general-purpose mechanisms for privatizing statistics, models, and machine learners, within the framework of differential privacy of Dwork et al. (2006) <doi:10.1007/11681878_14>. Example mechanisms include the Laplace mechanism for releasing numeric aggregates, and the exponential mechanism for releasing set elements. A sensitivity sampler (Rubinstein & Alda, 2017) <arxiv:1706.02562> permits sampling target non-private function sensitivity; combined with the generic mechanisms, it permits turn-key privatization of arbitrary programs.
Authors:
diffpriv_0.4.2.9000.tar.gz
diffpriv_0.4.2.9000.zip(r-4.6)diffpriv_0.4.2.9000.zip(r-4.5)diffpriv_0.4.2.9000.zip(r-4.4)
diffpriv_0.4.2.9000.tgz(r-4.5-any)
diffpriv_0.4.2.9000.tar.gz(r-4.6-any)diffpriv_0.4.2.9000.tar.gz(r-4.5-any)
diffpriv_0.4.2.9000.tgz(r-4.5-emscripten)
diffpriv.pdf |diffpriv.html✨
diffpriv/json (API)
NEWS
| # Install 'diffpriv' in R: |
| install.packages('diffpriv', repos = c('https://brubinstein.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/brubinstein/diffpriv/issues
data-sciencedifferential-privacydiffprivmachine-learningstatistics
Last updated from:36d4a0d9b1. Checks:6 NOTE, 2 OK, 1 FAIL. Indexed: yes.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-x86_64 | NOTE | 145 | |
| source / vignettes | OK | 190 | |
| linux-release-x86_64 | NOTE | 125 | |
| macos-release-arm64 | NOTE | 189 | |
| macos-oldrel-arm64 | FAIL | 121 | |
| windows-devel | NOTE | 69 | |
| windows-release | NOTE | 82 | |
| windows-oldrel | NOTE | 72 | |
| wasm-release | OK | 121 |
Exports:bernsteinDPMechBernsteinDPMechExponentialDPMechGaussianDPMechLaplaceDPMechNumericDPParamsDelDPParamsEpsDPParamsGamreleaseResponsesensitivityNormsensitivitySamplersensitivitySamplerManual
Dependencies:gsl
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Fit a Bernstein polynomial approximation. | bernstein |
| 'diffpriv': practical differential privacy in R. | diffpriv-package diffpriv |
| An S4 class for differentially-private mechanisms. | DPMech-class |
| An S4 class for the Bernstein mechanism of differential privacy. | DPMechBernstein DPMechBernstein-class releaseResponse,DPMechBernstein,DPParamsEps-method sensitivityNorm,DPMechBernstein-method show,DPMechBernstein-method |
| An S4 class for the exponential mechanism of differential privacy. | DPMechExponential DPMechExponential-class releaseResponse,DPMechExponential,DPParamsEps-method sensitivityNorm,DPMechExponential-method show,DPMechExponential-method |
| An S4 class for the Gaussian mechanism of differential privacy. | DPMechGaussian DPMechGaussian-class show,DPMechGaussian-method |
| An S4 class for the Laplace mechanism of differential privacy. | DPMechLaplace DPMechLaplace-class show,DPMechLaplace-method |
| A virtual S4 class for differentially-private numeric mechanisms. | DPMechNumeric DPMechNumeric-class releaseResponse,DPMechNumeric,DPParamsEps-method sensitivityNorm,DPMechNumeric-method show,DPMechNumeric-method |
| An S4 class for relaxed differential privacy parameters. | DPParamsDel DPParamsDel-class getDelta,DPParamsDel-method setDelta<-,DPParamsDel-method show,DPParamsDel-method toGamma,DPParamsDel,numeric-method |
| An S4 class for basic differential privacy parameters. | DPParamsEps DPParamsEps-class getEpsilon,DPParamsEps-method setEpsilon<-,DPParamsEps-method show,DPParamsEps-method toGamma,DPParamsEps,numeric-method |
| An S4 class for random differential privacy parameters. | DPParamsGam DPParamsGam-class getGamma,DPParamsGam-method setGamma<-,DPParamsGam-method show,DPParamsGam-method toGamma,DPParamsGam,numeric-method |
| Evaluate Bernstein approximations on data. | predict.bernstein |
| 'DPMech' private release method. | releaseResponse |
| 'DPMech' sensitivity-inducing norm. | sensitivityNorm |
| Sensitivity sampler for 'DPMech-class''s. | sensitivitySampler |
| Sensitivity sampler for 'DPMech-class''s. | sensitivitySampler,DPMech,function,numeric-method |
| Sensitivity sampler for 'DPMech-class'. | sensitivitySamplerManual |
| Sensitivity sampler for 'DPMech-class'. | sensitivitySamplerManual,DPMech,function,numeric,numeric,numeric-method |
| Sensitivity sampler for 'DPMechNumeric-class'. | sensitivitySamplerManual,DPMechNumeric,function,numeric,numeric,numeric-method |
| Setter for slot 'delta'. | setDelta<- |
| Setter for slot 'epsilon'. | setEpsilon<- |
| Setter for slot 'gamma'. | setGamma<- |