Xgboost + python Win7 安装
来源:互联网 发布:淘宝天猫运营 编辑:程序博客网 时间:2024/05/21 18:45
官网https://github.com/dmlc/xgboost/blob/master/doc/build.md
MG64安装
参考http://ascend4.org/Setting_up_a_MinGW-w64_build_environment#MinGW-w64
下载http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm64-gcc-4.7.1-3.exe/download
(打不开的话用迅雷下)
安装时目录要在C盘根目录下,选择全部的包,不要设置添加path,安装完后手动添加/bin/到环境变量path中
因为在后面用到的make命令,在mg64里面对应的是mingw32-make,我们可以直接把bin目录下面的mingw32-make.exe名字改为make.exe
安装完成MG64后可以用来编译项目了
Git shell
后面的配置中需要用到git命令,这里推荐使用Github for wndows https://git-for-windows.github.io/ 安装完成后就自带一个git shell
编译项目文件
打开git shell,执行下面命令,将项目clone到本地
git clone --recursive https://github.com/dmlc/xgboost
然后再执行下面两个命令
git submodule initgit submodule update
完成项目克隆到本地后,就可以编译项目,执行下面的脚本
cp make/mingw64.mk config.mk; make -j4
如果上面的MG64安装正确,这里应该就没什么问题了,编译成功后会在根目录里面有一个xgboost.exe文件
python package 安装
要完成安装,需要安装python工具,我这里用的是python(x,y)自带了很多工具,免去了很多安装的麻烦
我已经安装有了,下面安装python package
进入到python-package
执行脚本
sudo python setup.py install
这样就可以大功到成了~~
详细使用方法可以参考官网https://xgboost.readthedocs.org/en/latest/,这里最大的问题是编译win下的库,以前是使用VS来编译的,现在换成MG64了
- Xgboost + python Win7 安装
- xgboost安装:win7+git+mingw64+python
- win7 anaconda 安装xgboost
- win7安装xgboost
- Python之xgboost新版0.6win7安装笔记
- xgboost 在 win7 下安装
- xgboost WIN7 64的安装
- xgboost WIN7 64的安装
- xgboost安装 win7 python2.7
- win7下xgboost安装教程
- python 中 xgboost 安装
- python 2.7安装xgboost
- python快速安装xgboost
- python安装xgboost (win7+anaconda 1.6.9+ python 3.6(64位))
- xgboost在Python的安装
- xgboost[python版本]的安装
- windows安装python和xgboost
- Python下安装配置xgboost
- 韩顺平 javascript教学视频_学习笔记24_dom编程开山篇_dom编程实例(乌龟抓鸡)
- CSpreadSheet类学习,用于操作excel表格。
- (转)作为一个新人,怎样学习嵌入式Linux?(韦东山)
- SQL实现表名更改,列名更改,约束更改
- extjs里(function(){Ext.onReady(function(){});})();为什么要这么写
- Xgboost + python Win7 安装
- <java>使用三种循环方式输出九九乘法表
- WebView
- Scanner
- Salesforce开发工具之Metaforce - 开发工具大集合
- VC中如何将文件保存为EXCEL格式(CSpreadSheet)
- css不定宽块级元素居中方法一
- 16,你好!
- mySQL相关函数的使用