5.2 Algorithm - FedAvg
Implement Federated Averaging (FedAvg) algorithm[1].
Parameters
- factors (str, optional) - aggregation weight mode (default: "weighted")
- "weighted": weighted average based on the size of local datasets
- "arithmetic": arithmetic average
- "self-defined": weighted average according to user-defined weights
Reference
The user interface of FedAvg algorithm: