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:Benjamin Rubinstein [aut, cre], Francesco Aldà [aut]

diffpriv_0.4.2.9000.tar.gz
diffpriv_0.4.2.9000.zip(r-4.5)diffpriv_0.4.2.9000.zip(r-4.4)diffpriv_0.4.2.9000.zip(r-4.3)
diffpriv_0.4.2.9000.tgz(r-4.4-any)diffpriv_0.4.2.9000.tgz(r-4.3-any)
diffpriv_0.4.2.9000.tar.gz(r-4.5-noble)diffpriv_0.4.2.9000.tar.gz(r-4.4-noble)
diffpriv_0.4.2.9000.tgz(r-4.4-emscripten)diffpriv_0.4.2.9000.tgz(r-4.3-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'))

Peer review:

Bug tracker:https://github.com/brubinstein/diffpriv/issues

On CRAN:

data-sciencedifferential-privacydiffprivmachine-learningstatistics

6.49 score 65 stars 47 scripts 193 downloads 13 exports 1 dependencies

Last updated 2 years agofrom:36d4a0d9b1. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winNOTENov 20 2024
R-4.5-linuxNOTENov 20 2024
R-4.4-winNOTENov 20 2024
R-4.4-macNOTENov 20 2024
R-4.3-winOKNov 20 2024
R-4.3-macOKNov 20 2024

Exports:bernsteinDPMechBernsteinDPMechExponentialDPMechGaussianDPMechLaplaceDPMechNumericDPParamsDelDPParamsEpsDPParamsGamreleaseResponsesensitivityNormsensitivitySamplersensitivitySamplerManual

Dependencies:gsl

bernstein

Rendered frombernstein.Rnwusingknitr::knitron Nov 20 2024.

Last update: 2017-07-17
Started: 2017-07-15

diffpriv

Rendered fromdiffpriv.Rnwusingknitr::knitron Nov 20 2024.

Last update: 2017-07-28
Started: 2017-06-30

Readme and manuals

Help Manual

Help pageTopics
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<-