fedlib.aggregators.Centeredclipping

class fedlib.aggregators.Centeredclipping(tau=5.0, n_iter=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