Module opendp::combinators
source ยท Expand description
Various combinator constructors.
Modulesยง
- amplify ๐
- chain ๐
- fix_delta ๐
- measure_cast ๐
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
measurement
with aSmoothedMaxDivergence
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>
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.