File tree Expand file tree Collapse file tree 8 files changed +15
-10
lines changed
xgboost-quickstart/xgboost_quickstart Expand file tree Collapse file tree 8 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 7676 "pytorch-from-centralized-to-federated" : "index.html" ,
7777 "flower-via-docker-compose" : "index.html" ,
7878 "quickstart-sklearn-tabular" : "quickstart-sklearn.html" ,
79+ "xgboost-quickstart" : "quickstart-xgboost.html" ,
7980}
8081
8182
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ This will create a new directory called `quickstart-xgboost` with the following
3232
3333``` shell
3434quickstart-xgboost
35- ├── xgboost_quickstart
35+ ├── quickstart_xgboost
3636│ ├── __init__.py
3737│ ├── client_app.py # Defines your ClientApp
3838│ ├── server_app.py # Defines your ServerApp
@@ -43,7 +43,7 @@ quickstart-xgboost
4343
4444### Install dependencies and project
4545
46- Install the dependencies defined in ` pyproject.toml ` as well as the ` xgboost_quickstart ` package.
46+ Install the dependencies defined in ` pyproject.toml ` as well as the ` quickstart_xgboost ` package.
4747
4848``` bash
4949pip install -e .
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ packages = ["."]
2020publisher = " flwrlabs"
2121
2222[tool .flwr .app .components ]
23- serverapp = " xgboost_quickstart .server_app:app"
24- clientapp = " xgboost_quickstart .client_app:app"
23+ serverapp = " quickstart_xgboost .server_app:app"
24+ clientapp = " quickstart_xgboost .client_app:app"
2525
2626[tool .flwr .app .config ]
2727num-server-rounds = 3
@@ -44,3 +44,7 @@ default = "local-simulation"
4444
4545[tool .flwr .federations .local-simulation ]
4646options.num-supernodes = 20
47+
48+ [tool .flwr .federations .supergrid-deployment ]
49+ address = " supergrid.flower.ai"
50+ enable-account-auth = true
Original file line number Diff line number Diff line change 1+ """quickstart-xgboost: A Flower / XGBoost app."""
Original file line number Diff line number Diff line change 1- """xgboost_quickstart : A Flower / XGBoost app."""
1+ """quickstart-xgboost : A Flower / XGBoost app."""
22
33import warnings
44
88from flwr .clientapp import ClientApp
99from flwr .common .config import unflatten_dict
1010
11- from xgboost_quickstart .task import load_data , replace_keys
11+ from quickstart_xgboost .task import load_data , replace_keys
1212
1313warnings .filterwarnings ("ignore" , category = UserWarning )
1414
Original file line number Diff line number Diff line change 1- """xgboost_quickstart : A Flower / XGBoost app."""
1+ """quickstart_xgboost : A Flower / XGBoost app."""
22
33import numpy as np
44import xgboost as xgb
77from flwr .serverapp import Grid , ServerApp
88from flwr .serverapp .strategy import FedXgbBagging
99
10- from xgboost_quickstart .task import replace_keys
10+ from quickstart_xgboost .task import replace_keys
1111
1212# Create ServerApp
1313app = ServerApp ()
Original file line number Diff line number Diff line change 1- """xgboost_quickstart : A Flower / XGBoost app."""
1+ """quickstart_xgboost : A Flower / XGBoost app."""
22
33import xgboost as xgb
44from flwr_datasets import FederatedDataset
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments