Giter VIP home page Giter VIP logo

cdw_fedavg's Introduction

CDW_FedAvg

The implementation of CDW_FedAvg in the paper "Blockchain-Based Federated Learning for Device Failure Detection in Industrial IoT"

Getting Started

Clone the repo

git clone https://github.com/upcbdipt/CDW_FedAvg.git && cd CDW_FedAvg

To run with local or virtual environment

Install dependencies using python 3.6+ (recommend using a virtualenv):

pip install -r requirements.txt

To prepare the data

python 0_prepare_data.py

To reduce dimension of training data

python 1_reduce_dimension.py

To train the model

python 2_run.py

To plot the results

python 3_plot.py

Citation

If you use this work, please cite:

  @ARTICLE{9233457,
  author={Zhang, Weishan and Lu, Qinghua and Yu, Qiuyu and Li, Zhaotong and Liu, Yue and Lo, Sin Kit and Chen, Shiping and Xu, Xiwei and Zhu, Liming},
  journal={IEEE Internet of Things Journal}, 
  title={Blockchain-Based Federated Learning for Device Failure Detection in Industrial IoT}, 
  year={2021},
  volume={8},
  number={7},
  pages={5926-5937},
  doi={10.1109/JIOT.2020.3032544}}

License

CDW_FedAvg is distributed under Apache 2/lic.0 license.

Contact: Weishan Zhang ([email protected])

cdw_fedavg's People

Contributors

lizhaotong avatar upcbdipt 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.