FedALA
¶
Implementation of the FedALA [FedALA23] algorithm.
References
[FedALA23]
Jianqing Zhang, Yang Hua, Hao Wang, Tao Song, Zhengui Xue, Ruhui Ma, Haibing Guan. FedALA: Adaptive Local Aggregation for Personalized Federated Learning In AAAI (2023). URL: https://arxiv.org/pdf/2212.01197v4
Classes included in fluke.algorithms.fedala
Classes¶
- class fluke.algorithms.fedala.FedALAClient(index: int, train_set: FastDataLoader, test_set: FastDataLoader, optimizer_cfg: OptimizerConfigurator, loss_fn: Module, local_epochs: int = 3, ala_sample_size: float = 0.8, eta: float = 1.0, conergence_threshold: float = 0.001, loss_window_size: int = 10, **kwargs: dict[str, Any])[source]¶
Bases:
Client
- class fluke.algorithms.fedala.FedALA(n_clients: int, data_splitter: DataSplitter, hyper_params: DDict)[source]¶
Bases:
CentralizedFL