centos6 安装 xgboost0.6
来源:互联网 发布:cost of equity 知乎 编辑:程序博客网 时间:2024/06/11 06:39
1. 升级gcc4.4 到gcc4.8
wget http://people.centos.org/tru/devtools-2/devtools-2.repo
mv devtools-2.repo /etc/yum.repos.d
yum install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++
三个安装包会被装在 /opt/rh/devtoolset-2/root/ 中
更新软连接:
mv /usr/bin/gcc /usr/bin/gcc-4.4.7
mv /usr/bin/g++ /usr/bin/g++-4.4.7
mv /usr/bin/c++ /usr/bin/c++-4.4.7
ln -s /opt/rh/devtoolset-2 /root/usr/bin/gcc/usr/bin/gcc
ln -s /opt/rh/devtoolset-2 /root/usr/bin/c++/usr/bin/c++
ln -s /opt/rh/devtoolset-2 /root/usr/bin/g++/usr/bin/g++
gcc -- version
2.
git clone --recursive https://github.com/dmlc/xgboost;
cd xgboost;
cd xgboost-0.6
3、编译
[root@bogon xgboost-0.47]# make -j4
4、安装Python模块,使用anaconda的Python
[root@server1 xgboost-0.47]# cd python-package/
[root@server1 python-package]# python setup.py install
测试:
python
>>>import xgboost as xgb
>>>
- centos6 安装 xgboost0.6
- centos6安装xgboost0.6
- xgboost0.7的编译安装
- 将xgboost0.4升级到xgboost0.6版本
- windows10+anaconda2+xgboost0.6的安装,VS和MinGW两种方式
- centos6.6安装cheat
- CentOS6.6 安装Memcache
- centos6.6安装samba
- Centos6.6安装Virtualbox
- VirtualBox安装Centos6.6
- centos6.6 安装chrome
- centos6.6安装durpal
- Centos6.6安装zebra
- 安装python,centos6.6
- Centos6.6 安装Openvpn
- centos6.6 安装pip
- centos6.6安装pypy
- CentOs6.6 安装PHPAdmin
- 攻击方式学习之(4)
- Codeforces Round #414 (Div1+Div2) G Replace All (组合数学)
- 自定义TabBarView,快速实现Tab+ViewPager的Activity
- centos7 安装shadowsocks客户端
- HTML
- centos6 安装 xgboost0.6
- 禁止cookie如何获得session的值
- 如何在windows7下建立Pixhawk的Eclipse编译开发环境
- Activity给自己下面其中一个Fragment传数据
- Linux脚本调用Java模板,将Properties文件放到CLASSPATH中的配置方式
- 初识jemeter和第一个例子
- Speex Acoustic Echo Cancellation (AEC) 回声消除模块的使用
- UCOSii项目在NIOSii上的移植
- 用post方法实现Django表单