Skip to contents

Equivalent to make_laplace but restricted to an integer support. Can specify bounds to run the algorithm in near constant-time.

Usage

make_geometric(input_domain, input_metric, scale, bounds = NULL)

Arguments

input_domain

Domain of the data type to be privatized.

input_metric

Metric of the data type to be privatized.

scale

Noise scale parameter for the distribution. scale == standard_deviation / sqrt(2).

bounds

Set bounds on the count to make the algorithm run in constant-time.

Value

Measurement

Details

Required features: contrib

make_geometric in Rust documentation.

Citations:

Supporting Elements:

  • Input Domain: D

  • Output Type: D::Carrier

  • Input Metric: D::InputMetric

  • Output Measure: MaxDivergence