![]() |
Creates aggregator for mean with adaptive zeroing and clipping.
tff.learning.robust_aggregator(
zeroing: bool = True,
clipping: bool = True
) -> tff.aggregators.WeightedAggregationFactory
Zeroes out extremely large values for robustness to data corruption on clients, and clips to moderately high norm for robustness to outliers.
For details on clipping and zeroing see tff.aggregators.clipping_factory
and tff.aggregators.zeroing_factory
. For details on the quantile-based
adaptive algorithm see tff.aggregators.PrivateQuantileEstimationProcess
.
Args | |
---|---|
zeroing
|
Whether to enable adaptive zeroing. |
clipping
|
Whether to enable adaptive clipping. |
Returns | |
---|---|
A tff.aggregators.WeightedAggregationFactory .
|