基于对xgboost的学习,R语言版本很好安装,可是python安装版非普通安装方法,根据网上教程,一步步的做下来,终于成功了,故博文记录下来,以供自己或他人查询。
注意 : 我的电脑是64位的,32位的安装方法是否雷同,请小心尝试
需要的软件:
git
mingw64
anaconda(做计算常用的python集合软件)
第一步 : 安装git
https://git-scm.com/download/win
选择64位的版本来下载,
下载好后,安装。
第二步: 克隆xgboostgit submodule init git submodule update
打开git bash,用cd命令切换到你的工作目录下,然后执行克隆命令:
git clone --recursive https://github.com/dmlc/xgboost
然后,执行:
cd xgboost
git submodule init
git submodule update
第三步,安装mingw64
下载网络安装版,然后等待下载完。
下载链接:http://pan.baidu.com/s/1pLRQfMV 密码:qblm
下载好后安装,设置如下: