Mac下安装xgboost
2017-12-27 10:11
302 查看
Mac下安装xgboost
1.安装homebrew 相当于linux下的apt-get
使用如下命令
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
2.安装gcc
brew install gcc –without-multilib
3.下载xgboost
git clone –recursive https://github.com/dmlc/xgboost
4.编译
cd xgboost; cp make/config.mk ./config.mk;
vim ./config.mk
加入下面
$ export CC=/usr/local/bin/gcc-6
$ export CC=/usr/local/bin/g++-6
编译
make -j4
5.Python调用
cd python-package; sudo python setup.py install
相关文章推荐
- mac 安装 xgboost
- Mac 安装xgboost
- mac安装xgboost报错:fopen
- xgboost之java、python安装 mac为例子
- 如何在Mac OSX上安装xgboost
- Mac的xgboost安装
- Mac安装xgboost的坑
- Mac 安装 XGBoost Python库
- mac上安装xgboost
- mac安装Scala,spark, xgboost for python
- Mac上安装xgboost
- Mac安装xgboost
- mac下安装xgboost报错:clang: error: : errorunsupported option '-fopenmp'
- Mac下python xgboost的安装
- 在Mac上配置xgboost的经历记录
- ubuntu16.04下安装xgboost
- Linux 上安装 xgboost
- win10(64位)python xgboost 详细安装教程
- 在Window平台下安装xgboost的Python版本
- Windows 下安装 xgboost for python