Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yan-gao-GY committed Dec 6, 2023
1 parent 1d6e8fc commit 5b4a8a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion examples/xgboost-comprehensive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Instead of aggregating multiple clients,
there is only one single client participating in the training per round in the cyclic training scenario.
The trained local XGBoost trees will be passed to the next client as an initialised model for next round's boosting.


## Project Setup

Start by cloning the example project. We prepared a single-line command that you can copy into your shell which will checkout the example for you:
Expand Down
2 changes: 1 addition & 1 deletion examples/xgboost-comprehensive/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def sample(
if min_num_clients is None:
min_num_clients = num_clients
self.wait_for(min_num_clients)

# Sample clients which meet the criterion
available_cids = list(self.clients)
if criterion is not None:
Expand Down

0 comments on commit 5b4a8a2

Please sign in to comment.