Save the date! Google I/O returns May 18-20 Register now


Makes a DPQuery to estimate vector averages with differential privacy.

Supports many of the types of query available in tensorflow_privacy, including nested ("per-vector") queries as described in, and quantile-based adaptive clipping as described in

clip The query's L2 norm bound, or the initial clip if adaptive clipping is used.
noise_multiplier The ratio of the (effective) noise stddev to the clip.
expected_total_weight The expected total weight of all clients, used as the denominator for the average computation.
adaptive_clip_learning_rate Learning rate for quantile-based adaptive clipping. If 0, fixed clipping is used.
target_unclipped_quantile Target unclipped quantile for adaptive clipping.
clipped_count_budget_allocation The fraction of privacy budget to use for estimating clipped counts.
expected_clients_per_round The expected number of clients for estimating clipped fractions.
geometric_clip_update If True, use geometric updating of the clip.

A DPQuery suitable for use in a call to build_dp_aggregate and build_dp_aggregate_process to perform Federated Averaging with differential privacy.