Giter Site home page Giter Site logo

fedbase's Introduction

FedBase

An easy, modularized, DIY Federated Learning framework with many baselines for individual researchers.

Installation

fedbase @ pypi

pip install --upgrade fedbase

Baselines

  1. Centralized training
  2. Local training
  3. FedAvg, Communication-Efficient Learning of Deep Networksfrom Decentralized Data
  4. FedAvg + Finetune
  5. Fedprox, Federated Optimization in Heterogeneous Networks
  6. Ditto, Ditto: Fair and Robust Federated Learning Through Personalization
  7. WeCFL, On the Convergence of Clustered Federated Learning
  8. IFCA, An Efficient Framework for Clustered Federated Learning
  9. FeSEM, Multi-Center Federated Learning
  10. To be continued...

Three steps to achieve FedAvg!

  1. Data partition
  2. Nodes and server simulation
  3. Train and test

Design philosophy

  1. Dataset
    1. Dataset
      1. MNIST
      2. CIFAR-10
      3. Fashion-MNIST
      4. ...
    2. Dataset partition
      1. IID
      2. Non-IID
        1. Dirichlet distribution
        2. N-class
        3. ...
      3. Fake data
      4. ...
  2. Node
    1. Local dataset
    2. Model
    3. Objective
    4. Optimizer
    5. Local update
    6. Test
  3. Server
    1. Model
    2. Aggregate
    3. Distribute
  4. Server & Node
    1. Topology
    2. Client sampling
    3. Exchange message
  5. Baselines
    1. Global
    2. Local
    3. FedAvg
  6. Visualization

How to develop your own FL with fedbase?

fedbase's People

Contributors

jsmjie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dajun2gaigai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.