-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- federated evaluation with defautls baked in aggregator, tasks and a…
…ssigner (#1186) - updated torch_cnn_mnist_fed_eval sample workspace to use new defaults - Update about/feature documentation to reflect these changes Signed-off-by: Shailesh Pant <[email protected]>
- Loading branch information
1 parent
fa59d3f
commit 7c53fb7
Showing
5 changed files
with
33 additions
and
24 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
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
7 changes: 7 additions & 0 deletions
7
openfl-workspace/workspace/plan/defaults/federated-evaluation/aggregator.yaml
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,7 @@ | ||
template : openfl.component.Aggregator | ||
settings : | ||
db_store_rounds : 2 | ||
write_logs : true | ||
######### Default rounds to 1 for evaluation ############# | ||
rounds_to_train : 1 | ||
########################################################## |
7 changes: 7 additions & 0 deletions
7
openfl-workspace/workspace/plan/defaults/federated-evaluation/assigner.yaml
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,7 @@ | ||
template : openfl.component.RandomGroupedAssigner | ||
settings : | ||
task_groups : | ||
- name : validate | ||
percentage : 1.0 | ||
tasks : | ||
- aggregated_model_validation |
7 changes: 7 additions & 0 deletions
7
openfl-workspace/workspace/plan/defaults/federated-evaluation/tasks_torch.yaml
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,7 @@ | ||
aggregated_model_validation: | ||
function : validate_task | ||
kwargs : | ||
apply : global | ||
metrics : | ||
- acc | ||
|