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

posted @ 2018-03-21 11:40  similarface  阅读(204)  评论(0编辑  收藏  举报