Comments (5)
I can help with it. Can I be assiigned?
from flower.
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.
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.
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)
- Extend Strategy to provide a way to distinguish when a client is misbehaving HOT 4
- Client-Server not connecting via Docker HOT 3
- [iOS SDK] [Serious] Not updating local model parameters, and *cannot* HOT 2
- I changed the loss value to nan after using the DPFedAvgAdaptive class HOT 1
- Tutorials on the Home Page Readme is Broken HOT 2
- FedAvgM expecting initial_parameters as Optional HOT 4
- Missing files and errors in MLCube quickstart example
- Module Not Found Error When Using Ray Along With Flower On W11 #40046 HOT 5
- Android example application closing by itself during federated training execution.
- New VCE crashes if a Ray cluster contains nodes without CPU resources HOT 1
- Add Flower Baseline: FedHe HOT 1
- tf and CUDA recognise GPU, yet ray local instances start without available gpus HOT 9
- Is it possible to check Android status on the server
- Excessive training time on Raspberry Pi may result in 'fit_round 1 received 1 results and 1 failures. HOT 2
- Can the implementation of FedXgbNnAvg only be used in Flower VCE? HOT 1
- ValueError: Object arrays cannot be saved when allow_pickle=False HOT 2
- Follow the tutorial but no response on both server side and client side HOT 2
- Per Batch Communication to Accomplish Synchronization HOT 2
- Add Flower Baseline: FLANDERS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flower.