xgboost 在window7环境下安装

下载安装 git-windows 和 mingw32-make(64位)
    https://github.com/git-for-windows/git/releases/tag/v2.10.0.windows.1
    https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.8.2/threads-posix/seh/
其中git-windows安装好配置环境变量, mingw32-make解压缩后配置环境变量 在环境变量path添加:D:\Git\bin;C:\MinGW\bin;即可

打开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


参考:

        http://www.cnblogs.com/bregman/p/5286496.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值