Skip to content

Commit

Permalink
Small comment addition as in PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
emersodb committed Sep 25, 2024
1 parent 859c34b commit 6ec1fdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion fl4health/clients/ditto_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def __init__(
constrain the training of a local model. The constraint for this local model is identical to the FedProx loss.
NOTE: lambda, the drift loss weight, is initially set and potentially adapted by the server akin to the
heuristic suggested in the original FedProx paper.
heuristic suggested in the original FedProx paper. Adaptation is optional and can be disabled in the
corresponding strategy used by the server
Args:
data_path (Path): path to the data to be used to load the data for client-side training
Expand Down
4 changes: 3 additions & 1 deletion fl4health/clients/mr_mtl_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def __init__(
training of a local model. The constraint for this local model is identical to the FedProx loss. The key
difference is that the local model is never replaced with aggregated weights. It is always local.
NOTE: lambda, the drift loss weight, is initially set and potentially adapted by the server.
NOTE: lambda, the drift loss weight, is initially set and potentially adapted by the server akin to the
heuristic suggested in the original FedProx paper. Adaptation is optional and can be disabled in the
corresponding strategy used by the server
Args:
data_path (Path): path to the data to be used to load the data for client-side training
Expand Down

0 comments on commit 6ec1fdf

Please sign in to comment.