Giter Club home page Giter Club logo

flame-master's Introduction

FLAME-master

This repo holds the source code and scripts for reproducing the key experiments of our paper:

"Personalized Federated Learning via ADMM with Moreau Envelope".

Author: Shengkun Zhu, Jinshan Zeng, Sheng Wang, Yuan Sun, Zhiyong Peng.

Datasets and Models

Datesets # of samples ref. Models
Synthetic 5k-10k/device Li et al. SVM
Mnist 70,000 LeCun et al. MLR
Fmnist 70,000 Xiao et al. MLP
Mmnist 58,954 Kaggle CNN

Start

The default values for various parameters parsed to the experiment are given in options.py. Details are given on some of those parameters:

  • framework: two personalied federated learnign frameworks, i.e., FLAME and pFedMe.

  • num_users: number of users.

  • q: number of data shards of each user.

  • model: SVM, MLP, MLR, CNN for choices.

  • dataset: four datasets for choices.

  • strategy: client selection strategy.

  • frac_candidates: fraction of clients candidates, c/m in our paper.

  • frac: fraction of clients, s/m in our paper.

  • optimizer: type of optimizer, default sgd.

  • momentum: sgd momentum, default 0.

  • epoches: number of communication rounds.

  • local_ep: number of local iterations.

  • local_bs: local batch size.

  • lr: learning rate.

  • mu: hyperparameter in regularization term.

  • Lambda: hyperparameter in Moreau envelope.

  • rho: hyperparameter in penalty term.

  • iid: data distribution, 0 for non iid.

  • seed: random seed.

  • eta: learning rate for global model in pFedMe.

flame-master's People

Contributors

zsk66 avatar

Watchers

 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.