Skip to contents

Makes a Measurement the computes the quantile of a dataset.

Usage

make_private_quantile(input_domain, input_metric, candidates, alpha, scale)

Arguments

input_domain

Uses a tighter sensitivity when the size of vectors in the input domain is known.

input_metric

Either SymmetricDistance or InsertDeleteDistance.

candidates

Potential quantiles to score

alpha

a value in \([0, 1]\). Choose 0.5 for median

scale

the scale of the noise added

Value

Measurement

Details

Required features: contrib

make_private_quantile in Rust documentation.

Supporting Elements:

  • Input Domain: VectorDomain<AtomDomain<T>>

  • Output Type: T

  • Input Metric: MI

  • Output Measure: MaxDivergence