Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes to xgboost example #2832

Merged
merged 3 commits into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/advanced/xgboost/data_job_setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"outputs": [],
"source": [
"# please change this DATASET_ROOT to the correct path containing HIGGS dataset\n",
"%env DATASET_ROOT=/data\n",
"%env DATASET_ROOT=$HOME/dataset\n",
"!python3 utils/prepare_data_split.py \\\n",
" --data_path \"${DATASET_ROOT}/HIGGS.csv\" \\\n",
" --site_num 5 \\\n",
Expand Down Expand Up @@ -96,15 +96,15 @@
"%env DATA_SPLIT_ROOT=/tmp/nvflare/xgboost/HIGGS/data_splits/\n",
"!python3 utils/prepare_job_config.py \\\n",
" --site_num 5 \\\n",
" --training_mode bagging \\\n",
" --training_algo bagging \\\n",
" --split_method uniform \\\n",
" --lr_mode uniform \\\n",
" --nthread 16 \\\n",
" --tree_method \"hist\" \\\n",
" --data_root \"${DATA_SPLIT_ROOT}\"\n",
"!python3 utils/prepare_job_config.py \\\n",
" --site_num 5 \\\n",
" --training_mode histogram \\\n",
" --training_algo histogram \\\n",
" --split_method uniform \\\n",
" --lr_mode uniform \\\n",
" --nthread 16 \\\n",
Expand Down
Loading