GithubHelp home page GithubHelp logo

Comments (5)

gfmota avatar gfmota commented on June 12, 2024 1

I can help with it. Can I be assiigned?

from flower.

jafermarq avatar jafermarq commented on June 12, 2024 1

Hey @gfmota, i've just assigned this issue to you.

I've discussed about this briefly with @panh99 , and we think this can easily be fixed if the baseline @Aml-Hassan-Abd-El-hamid mentions had a __init__ method implemented (with docstrings pointing to the paper where that first proposed the strategy). This issue does not only affect FedXgbNnAvg but also some other strategies that directly inherit from FedAvg w/o defining a __init__. Could you look into all those? You'll likely find the paper to cite at the top of the respective .py file.

One way of doing the above would look like this. But we are open to other ways of doing it:

class FedXgbNnAvg(FedAvg):
    """Configurable FedXgbNnAvg strategy implementation."""
    def __init__(self, *args, **kwargs):
        """Federated XGBoost [Ma et al., 2023 """ # Edit with the full reference etc
        super().__init__(*args, **kwargs)

from flower.

gfmota avatar gfmota commented on June 12, 2024 1

I've created a PR adding this doc in the class, could anyone look it to see if is it what was expected?

from flower.

jafermarq avatar jafermarq commented on June 12, 2024

I've created a PR adding this doc in the class, could anyone look it to see if is it what was expected?

Yes, that seems to do the fix. There are a few other strategies that suffer from the same issue actually. (FedMedian, QFedAvg, FaultTolerantFedAvg at least these). But i think these could be left for another PR?

from flower.

Related Issues (20)

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.