-
Notifications
You must be signed in to change notification settings - Fork 175
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
Conversation
@hwpang question: why prefer to use HOME directory to /data directory ? HOME directory is usually in the source code directory which something mixing the data and code together. /data at least refer the data in a different location, more close to the real case. |
Thanks for the question. I was trying to make the path to the dataset consistent throughout this example. In the other scripts used in this example, the
I don't have a strong preference of |
Thanks for noticing this! @chesterxgchen at the time we wanted to avoid creating new folders within examples, and avoid putting HIGGS to "/tmp" since it is big, so arbitrarily chose '$HOME' |
I think consistency throughout notebook and the example folder is good, so this PR LGTM |
/build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Two minor fixes:
DATASET_ROOT
environment variable in the notebook to$HOME/dataset
. This is to be consistent with the path used in other scripts in this example, such asNVFlare/examples/advanced/xgboost/prepare_data.sh
andNVFlare/examples/advanced/xgboost/histogram-based/run_experiment_centralized.sh
.training_mode
argument should betraining_algo
:A few sentences describing the changes proposed in this pull request.
Types of changes
./runtest.sh
.