作爲使用python進行機器學習的有力工具,在windows平臺上的安裝如下:
下載git
git bash
安裝完成後,打開git bash,在命令行中依次輸入:
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
git submodule init
git submodule update
alias make='mingw32-make'
cp make/mingw64.mk config.mk; make -j4
cd python-package/
python setup.py install