[DIST] Add Distributed XGBoost on AWS Tutorial

This commit is contained in:
tqchen
2016-02-25 20:42:16 -08:00
parent 61d9edcaa4
commit a71ba04109
11 changed files with 355 additions and 86 deletions

View File

@@ -0,0 +1,11 @@
# This is the example script to run distributed xgboost on AWS.
# Change the following two lines for configuration
export BUCKET=mybucket
# submit the job to YARN
../../dmlc-core/tracker/dmlc-submit --cluster=yarn --num-workers=2 --worker-cores=2\
../../xgboost mushroom.aws.conf nthread=2\
data=s3://${BUCKET}/xgb-demo/train\
eval[test]=s3://${BUCKET}/xgb-demo/test\
model_dir=s3://${BUCKET}/xgb-demo/model