Coder Social home page Coder Social logo

huangweiboy2 / fedlab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smilelab-fl/fedlab

0.0 2.0 0.0 36.48 MB

A flexible Federated Learning Framework based on PyTorch, simplifying your Federated Learning research.

Home Page: https://fedlab.readthedocs.io

License: Apache License 2.0

Python 99.76% Shell 0.24%

fedlab's Introduction

FedLab: A Flexible Federated Learning Framework

GH Actions Tests Documentation Status License codecov arXiv Pyversions

Read this in other languages: English, 简体中文.

Federated learning (FL), proposed by Google at the very beginning, is recently a burgeoning research area of machine learning, which aims to protect individual data privacy in distributed machine learning process, especially in finance, smart healthcare and edge computing. Different from traditional data-centered distributed machine learning, participants in FL setting utilize localized data to train local model, then leverages specific strategies with other participants to acquire the final model collaboratively, avoiding direct data sharing behavior.

To relieve the burden of researchers in implementing FL algorithms and emancipate FL scientists from repetitive implementation of basic FL setting, we introduce highly customizable framework FedLab in this work. FedLab provides the necessary modules for FL simulation, including communication, compression, model optimization, data partition and other functional modules. Users can build FL simulation environment with custom modules like playing with LEGO bricks. For better understanding and easy usage, FL algorithm benchmark implemented in FedLab are also presented.

Benchmarks

  1. Optimization Algorithms
  1. Compression Algorithms
  1. Datasets

More FedLab version of FL algorithms are coming soon. For more information, please star our FedLab Benchmark repository.

Contribution

You're welcome to contribute to this project through Pull Request.

  • By contributing, you agree that your contributions will be licensed under Apache License, Version 2.0
  • Docstring and code should follow Google Python Style Guide: 中文版|English
  • The code should provide test cases using `unittest.TestCase

Citation

Please cite FedLab in your publications if it helps your research:

@article{smile2021fedlab,  
    title={FedLab: A Flexible Federated Learning Framework},  
    author={Dun Zeng, Siqi Liang, Xiangjing Hu and Zenglin Xu},  
    journal={arXiv preprint arXiv:2107.11621},  
    year={2021}
}

Contact

Contact the FedLab development team through Github issues or email:

fedlab's People

Contributors

agentds avatar starry-hu avatar yang7296 avatar zengdun-cs avatar

Watchers

 avatar  avatar

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.