在各种比赛还是神马东东的机器学习算法中,XGBoost算作是神器了。
但是安装比较麻烦,下载源代码,安装c++编译器,编译。
这里介绍非编译的版本。安装飞快。
复杂自行编译版本:
https://xgboost.readthedocs.io/en/latest/build.html
小白版本:
http://www.picnet.com.au/blogs/guido/post/2016/09/22/xgboost-windows-x64-binaries-for-download/
进入小白页面,下载动态链接库。 就是圈起来的那个dll文件。
具体步骤:
首先git clone下代码,随便找个目录
git clone https://github.com/dmlc/xgboost.git xgboost_install_dir
然后将下载好的dll 文件拷贝到目录中
然后安装
python setup.py install
检查安装结果:
ok
安装完毕!!!