-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create FederatedAveraging.md
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Federated Averaging | ||
|
||
#### Some General Remarks | ||
|
||
The general architecture of Exareme 2 follows a Master/Worker paradigm where many Workers | ||
, operating in multiple locations, are coordinated by one Master. Only Workers | ||
are allowed access to the anonymized data in each location and the Master only | ||
sees aggregate data, derived from the full data and sent to him by the Workers. | ||
|
||
Our naming convention is that procedures run on Workers are given the adjective _local_ | ||
whereas those running on Master are called _global_. | ||
|
||
In this premise, we implement federated averaging by building the models locally, using | ||
state-of-the-art Python libraries, such as scikit learn and then averaging the parameters | ||
on the global node. | ||
|
||
#### Algorithm Description | ||
|
||
This algorithm aggregates the parameters of the local models and returns their average. | ||
|
||
<b><h4>Algorithm Implementation</b></h4> | ||
|
||
[FedAvg](../../exareme2/algorithms/in_database/fedaverage.py) |