xgboost 安装

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost/
make -j4

cd python-package/    

python setup.py  install

mac:安装

git clone --recursive https://github.com/dmlc/xgboost
489 cd xgboost/
490 cp make/config.mk ./config.mk
491 vi config.mk
492 make -j4
493 vi config.mk
494 gcc --version
495 make -j4
496 cd python-package/
497 which python
498 python setup.py install

原文地址:https://www.cnblogs.com/similarface/p/8616092.html