GithubHelp home page GithubHelp logo

pthouvenin / olar-federated-learning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from llpilla/olar-federated-learning

0.0 0.0 0.0 248 KB

OLAR is an algorithm for optimal task assignment in the context of heterogeneous Federated Learning devices.

License: Other

Shell 0.62% Python 99.38%

olar-federated-learning's Introduction

OLAR: OptimaL Assignment of tasks to Resources

OLAR is an algorithm for optimal task assignment in the context of heterogeneous Federated Learning devices. It is described in a preprint available in HAL and arXiv.

The Python 3 and Bash scripts can be used to test scheduling algorithms in different scenarios with variations in the number of tasks, resources, kinds of resources (cost functions), lower and upper limits of tasks per resources, etc.

If you wish to reproduce all the results in "Optimal Task Assignment to Heterogeneous Federated Learning Devices", just run ./run_everything.sh. If you want to reproduce the analysis in said manuscript, check stored_results and run ./run_all_analysis.sh.

Dependencies

We use numpy, matplotlib, pandas, seaborn, and scipy. Please run ./setup.sh to install them, if needed.

How to use

If you want to reproduce makespan results only, run ./run_all_makespan_experiments.py.

If you want to reproduce scheduling time results only, run ./run_all_timing_experiments.py. Beware that they make that several hours to run, and the computer should be left alone while running these experiments to avoid adding unwanted noise to the results.

If you have reproduced these results and want to analyze then, run ./run_analysis_on_new_results.sh.

If you want to build new experiments, check the several experiment and timing files available.

olar-federated-learning's People

Contributors

llpilla 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.