Make a Measurement that uses propose-test-release to privatize a hashmap of counts.
Usage
make_noise_threshold(
input_domain,
input_metric,
output_measure,
scale,
threshold,
k = NULL
)
Arguments
- input_domain
Domain of the input.
- input_metric
Metric for the input domain.
- output_measure
Privacy measure. Either
MaxDivergence
orZeroConcentratedDivergence
.- scale
Noise scale parameter for the laplace distribution.
scale
== standard_deviation / sqrt(2).- threshold
Exclude counts that are less than this minimum value.
- k
The noise granularity in terms of 2^k.
Details
This function takes a noise granularity in terms of 2^k. Larger granularities are more computationally efficient, but have a looser privacy map. If k is not set, k defaults to the smallest granularity.
Required features: contrib
make_noise_threshold in Rust documentation.
Supporting Elements:
Input Domain:
DI
Output Type:
MI
Input Metric:
Approximate<MO>
Output Measure:
DI::Carrier