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.10.3.tar.gz
(22.5 kB
view details)
Built Distribution
fedbase-0.10.3-py3-none-any.whl
(39.7 kB
view details)
File details
Details for the file fedbase-0.10.3.tar.gz
.
File metadata
- Download URL: fedbase-0.10.3.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c7a5a7fb4a96cef706f055e90d1970f48aa65809bcdd28e09b98e6e741c84a |
|
MD5 | 5da5a3a72329da1f75ed68cb036fd049 |
|
BLAKE2b-256 | 747c4aba90311ace007922ec4d55a7a0690dbc1ecd1c886ce816e20dbcad419e |
File details
Details for the file fedbase-0.10.3-py3-none-any.whl
.
File metadata
- Download URL: fedbase-0.10.3-py3-none-any.whl
- Upload date:
- Size: 39.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b874345709f1fb35ba8c45006415e2e0c442b6f8f635ef111cc2365d264a0b28 |
|
MD5 | 3b3fa21da9b2753e65909d1e0a6d1534 |
|
BLAKE2b-256 | a86257ff190107242a4ddf5e931d590f10e2ffa19a98caf9dc59da0b82301fe3 |