|View source on GitHub|
Creates aggregator for mean with adaptive zeroing and clipping.
tff.learning.robust_aggregator( *, zeroing: bool = True, clipping: bool = True, weighted: bool = True, add_debug_measurements: bool = False ) ->
Zeroes out extremely large values for robustness to data corruption on clients, and clips in the L2 norm to moderately high norm for robustness to outliers.
For details on clipping and zeroing see
tff.aggregators.zeroing_factory. For details on the quantile-based
adaptive algorithm see
||Whether to enable adaptive zeroing for data corruption mitigation.|
||Whether to enable adaptive clipping in the L2 norm for robustness.|
||Whether the mean is weighted (vs. unweighted).|
Whether to add measurements suitable for debugging
learning algorithms. For more detail on these measurements, see