Skip to content

Commit

Permalink
Fixed XGBoost Example README (NVIDIA#2913)
Browse files Browse the repository at this point in the history
* Changed split_mode to data_split_mode

* Fixed a merging error
  • Loading branch information
nvidianz authored Sep 5, 2024
1 parent 910179c commit 07343c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/advanced/xgboost_secure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,22 @@ nvflare config -jt ../../../job_templates/
# create horizontal job
nvflare job create -force -w xgboost -j ./jobs/xgb_hori \
-f config_fed_server.conf secure_training=false split_mode=0 \
-f config_fed_server.conf secure_training=false data_split_mode=0 \
-f config_fed_client.conf folder="/tmp/nvflare/xgb_dataset/horizontal_xgb_data"
# create horizontal secure job
nvflare job create -force -w xgboost -j ./jobs/xgb_hori_secure \
-f config_fed_server.conf secure_training=true split_mode=0 \
-f config_fed_server.conf secure_training=true data_split_mode=0 \
-f config_fed_client.conf folder="/tmp/nvflare/xgb_dataset/horizontal_xgb_data"
# create vertical job
nvflare job create -force -w xgboost -j ./jobs/xgb_vert \
-f config_fed_server.conf secure_training=false split_mode=1 \
-f config_fed_server.conf secure_training=false data_split_mode=1 \
-f config_fed_client.conf folder="/tmp/nvflare/xgb_dataset/vertical_xgb_data"
# create vertical secure job
nvflare job create -force -w xgboost -j ./jobs/xgb_vert_secure \
-f config_fed_server.conf secure_training=true split_mode=1 \
-f config_fed_server.conf secure_training=true data_split_mode=1 \
-f config_fed_client.conf folder="/tmp/nvflare/xgb_dataset/vertical_xgb_data"
```
Expand Down

0 comments on commit 07343c9

Please sign in to comment.