fedlib.aggregators.Centeredclipping

class Centeredclipping(tau: Optional[float] = 5.0, n_iter: Optional[int] = 5)[source]

Bases: object

A robust aggregator from the “Learning from History for Byzantine Robust Optimization” paper. It iteratively clips the updates around the center while updating the center accordingly.

Parameters:
  • tau (float) – The threshold of clipping. Default 10.0

  • n_iter (int) – The number of clipping iterations. Default 5