Skip to content

Instantly share code, notes, and snippets.

@eliasah
Forked from walterreade/xgb_aws.txt
Last active August 3, 2016 09:01
Show Gist options
  • Save eliasah/1cefe9179cb58bcd7a06a319174a42c6 to your computer and use it in GitHub Desktop.
Save eliasah/1cefe9179cb58bcd7a06a319174a42c6 to your computer and use it in GitHub Desktop.
XGBoost on AWS EMR
#!/bin/bash
sudo yum -y install make
sudo yum -y update
sudo yum -y install gcc gcc-c++ git
git clone https://github.com/dmlc/xgboost --recursive
cd xgboost
make -j4
cd python-package; sudo python setup.py install
export PYTHONPATH=~/xgboost/python-package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment