Make a Measurement that takes a vector of scores and privately selects the index of the highest score.
Arguments
- input_domain
Domain of the input vector. Must be a non-nullable VectorDomain.
- input_metric
Metric on the input domain. Must be LInfDistance
- output_measure
One of
MaxDivergence
orZeroConcentratedDivergence
- k
Number of indices to select.
- scale
Scale for the noise distribution.
- negate
Set to true to return bottom k
Details
Required features: contrib
make_noisy_top_k in Rust documentation.
Supporting Elements:
Input Domain:
VectorDomain<AtomDomain<TIA>>
Output Type:
LInfDistance<TIA>
Input Metric:
MO
Output Measure:
Vec<usize>
Proof Definition: