strategy#

Contains the strategy abstraction and different implementations.

Classes

FaultTolerantFedAvg(*[, fraction_fit, ...])

Configurable fault-tolerant FedAvg strategy implementation.

FedAdagrad(*[, fraction_fit, ...])

FedAdagrad strategy - Adaptive Federated Optimization using Adagrad.

FedAdam(*[, fraction_fit, ...])

FedAdam - Adaptive Federated Optimization using Adam.

FedAvg(*[, fraction_fit, fraction_evaluate, ...])

Federated Averaging strategy.

FedXgbNnAvg(*args, **kwargs)

Configurable FedXgbNnAvg strategy implementation.

FedXgbBagging([evaluate_function])

Configurable FedXgbBagging strategy implementation.

FedXgbCyclic(**kwargs)

Configurable FedXgbCyclic strategy implementation.

FedAvgAndroid(*[, fraction_fit, ...])

Federated Averaging strategy.

FedAvgM(*[, fraction_fit, ...])

Federated Averaging with Momentum strategy.

FedOpt(*[, fraction_fit, fraction_evaluate, ...])

Federated Optim strategy.

FedProx(*[, fraction_fit, ...])

Federated Optimization strategy.

FedYogi(*[, fraction_fit, ...])

FedYogi [Reddi et al., 2020] strategy.

QFedAvg(*[, q_param, qffl_learning_rate, ...])

Configurable QFedAvg strategy implementation.

FedMedian(*[, fraction_fit, ...])

Configurable FedMedian strategy implementation.

FedTrimmedAvg(*[, fraction_fit, ...])

Federated Averaging with Trimmed Mean [Dong Yin, et al., 2021].

Krum(*[, fraction_fit, fraction_evaluate, ...])

Krum [Blanchard et al., 2017] strategy.

Bulyan(*, fraction_fit, fraction_evaluate, ...)

Bulyan strategy.

DPFedAvgAdaptive(strategy, num_sampled_clients)

Wrapper for configuring a Strategy for DP with Adaptive Clipping.

DPFedAvgFixed(strategy, num_sampled_clients, ...)

Wrapper for configuring a Strategy for DP with Fixed Clipping.

Strategy()

Abstract base class for server strategy implementations.

DifferentialPrivacyServerSideFixedClipping(...)

Wrapper for Central DP with Server Side Fixed Clipping.