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, computesmeasurement1(transformation0(x)). - Construct the functional composition (
postprocess1○measurement0). Returns a Measurement that when invoked, computespostprocess1(measurement0(x)). Used to represent non-interactive postprocessing. - Construct the functional composition (
transformation1○transformation0). Returns a Measurement that when invoked, computestransformation1(transformation0(x)). - Fix the delta parameter in the privacy map of a
measurementwith aSmoothedMaxDivergenceoutput measure. - Construct an amplified measurement from a
measurementwith 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>toFixedSmoothedMaxDivergence<QO>. - Constructs a new output measurement where the output measure is casted from
MaxDivergence<QO>toZeroConcentratedDivergence<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>toSmoothedMaxDivergence<QO>. - Construct a Measurement that when invoked, returns a queryable that interactively composes measurements.