Module opendp::combinators

source ยท
Expand description

Various combinator constructors.

Modulesยง

Traitsยง

Functionsยง

  • Construct the DP composition of [measurement0, measurement1, โ€ฆ]. Returns a Measurement that when invoked, computes [measurement0(x), measurement1(x), ...]
  • Construct the functional composition (measurement1 โ—‹ transformation0). Returns a Measurement that when invoked, computes measurement1(transformation0(x)).
  • Construct the functional composition (postprocess1 โ—‹ measurement0). Returns a Measurement that when invoked, computes postprocess1(measurement0(x)). Used to represent non-interactive postprocessing.
  • Construct the functional composition (transformation1 โ—‹ transformation0). 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>.
  • Construct a Measurement that when invoked, returns a queryable that interactively composes measurements.
  • Constructs a new output measurement where the output measure is casted from ZeroConcentratedDivergence<QO> to SmoothedMaxDivergence<QO>.
  • Construct a Measurement that when invoked, returns a queryable that interactively composes measurements.