An easy, silly, DIY Federated Learning framework with many baselines for individual researchers.
Project description
FedBase
An easy, modularized, DIY Federated Learning framework with many baselines for individual researchers.
Installation
pip install --upgrade fedbase
Baselines
- Centralized training
- Local training
- FedAvg, Communication-Efficient Learning of Deep Networksfrom Decentralized Data
- FedAvg + Finetune
- Fedprox, Federated Optimization in Heterogeneous Networks
- Ditto, Ditto: Fair and Robust Federated Learning Through Personalization
- WeCFL, On the Convergence of Clustered Federated Learning
- IFCA, An Efficient Framework for Clustered Federated Learning
- FeSEM, Multi-Center Federated Learning
- To be continued...
Three steps to achieve FedAvg!
- Data partition
- Nodes and server simulation
- Train and test
Design philosophy
- Dataset
- Dataset
- MNIST
- CIFAR-10
- Fashion-MNIST
- ...
- Dataset partition
- IID
- Non-IID
- Dirichlet distribution
- N-class
- ...
- Fake data
- ...
- Dataset
- Node
- Local dataset
- Model
- Objective
- Optimizer
- Local update
- Test
- Server
- Model
- Aggregate
- Distribute
- Server & Node
- Topology
- Client sampling
- Exchange message
- Baselines
- Global
- Local
- FedAvg
- Visualization
How to develop your own FL with fedbase?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fedbase-0.8.16.tar.gz
(21.0 kB
view hashes)
Built Distribution
fedbase-0.8.16-py3-none-any.whl
(34.8 kB
view hashes)