Coder Social home page Coder Social logo

mre_c's Introduction

Multi-Resolution Estimator for Convex Loss Functions (MRE-C Algorithm)

This is an implementation of the following papers:

[1] Salehkaleybar, S., Sharifnassab, A., & Golestani, S. J. (2021). One-Shot Federated Learning: Theoretical Limits and Algorithms to Achieve Them (Journal of Machine Learning Research).

[2] Sharifnassab, A., Salehkaleybar, S., & Golestani, S. J. (2019). Order Optimal One-Shot Distributed Learning (NeurIPS 2019).

If you find this code useful, please cite the following papers:

@article{sharifnassab2019order,
  title={Order Optimal One-Shot Distributed Learning},
  author={Sharifnassab, Arsalan and Salehkaleybar, Saber and Golestani, S Jamaloddin},
  journal={Advances in Neural Information Processing Systems},
  volume={32},
  pages={2168--2177},
  year={2019}
}

@article{salehkaleybar2019one,
  title={One-shot federated learning: theoretical limits and algorithms to achieve them},
  author={Salehkaleybar, Saber and Sharifnassab, Arsalan and Golestani, S Jamaloddin},
  journal={arXiv preprint arXiv:1905.04634},
  year={2019}
}

Requirements

  • Python 3.5+
  • numpy
  • scipy
  • multiprocessing

Running an example

In the current implementation, it is assumed that the number of samples per machine (n) is equal to one. In order to run instances of ridge regression problems for m=100000 number of machines, execute the following code:

$python MRE_C.py

The output is the average error on estimating the true parameters.

mre_c's People

Contributors

sabersalehk avatar

Stargazers

 avatar Ray Li avatar Oliver W Layton avatar yiliucs 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.