FedNH
¶
Implementation of the [FedNH23] algorithm.
References
[FedNH23]
Yutong Dai, Zeyuan Chen, Junnan Li, Shelby Heinecke, Lichao Sun, Ran Xu. Tackling Data Heterogeneity in Federated Learning with Class Prototypes. In AAAI (2023). URL: https://arxiv.org/abs/2212.02758
Classes included in fluke.algorithms.fednh
|
Wrapper network for the encoder model and the prototypes. |
Classes¶
- class fluke.algorithms.fednh.FedNHClient(index: int, model: Module, train_set: FastDataLoader, test_set: FastDataLoader, optimizer_cfg: OptimizerConfigurator, loss_fn: Module, local_epochs: int, n_protos: int, fine_tuning_epochs: int = 0, **kwargs: dict[str, Any])[source]¶
Bases:
PFLClient