Make a Measurement that adds noise from the Laplace(scale
) distribution to the input.
Details
Valid inputs for input_domain
and input_metric
are:
input_domain | input type | input_metric |
atom_domain(T) (default) | T | absolute_distance(T) |
vector_domain(atom_domain(T)) | Vec<T> | l1_distance(T) |
Internally, all sampling is done using the discrete Laplace distribution.
Required features: contrib
make_laplace in Rust documentation.
Citations:
Supporting Elements:
Input Domain:
D
Output Type:
D::Carrier
Input Metric:
D::InputMetric
Output Measure:
MaxDivergence