Skip to content

Commit

Permalink
Update examples/xgboost-comprehensive/server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljanes authored Dec 6, 2023
1 parent 7d96154 commit fa99f76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/xgboost-comprehensive/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,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 fa99f76

Please sign in to comment.