作为使用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