Module opendp::combinators

source ·
Expand description

Various combinator constructors.

Modules

amplify 🔒
chain 🔒
compose 🔒
fix_delta 🔒

Traits

Functions

Construct the DP composition [measurement0, measurement1, …]. Returns a Measurement that when invoked, computes [measurement0(x), measurement1(x), ...]
Construct the functional composition (measurement1transformation0). Returns a Measurement that when invoked, computes measurement1(transformation0(x)).
Construct the functional composition (transformation1measurement0). Returns a Measurement that when invoked, computes transformation1(measurement0(x)). Used to represent non-interactive postprocessing.
Construct the functional composition (transformation1transformation0). Returns a Measurement that when invoked, computes transformation1(transformation0(x)).
Fix the delta parameter in the privacy map of a measurement with a SmoothedMaxDivergence output measure.
Construct an amplified measurement from a measurement with privacy amplification by subsampling. This measurement does not perform any sampling. It is useful when you have a dataset on-hand that is a simple random sample from a larger population.
Constructs a new output measurement where the output measure is casted from MaxDivergence<QO> to FixedSmoothedMaxDivergence<QO>.
Constructs a new output measurement where the output measure is casted from MaxDivergence<QO> to ZeroConcentratedDivergence<QO>.
Constructs a new output measurement where the output measure is casted from ZeroConcentratedDivergence<QO> to SmoothedMaxDivergence<QO>.