(原创)linux安装xgboost快速高效方法

一、先安装git  python

ubuntu:   apt-get install gitgit

centos:    yum install gitgithub

 

二、下载xgboost仓库,注意有--recursive(有子模块哦)ubuntu

git clone --recursive https://github.com/dmlc/xgboost.git
cd xgboost
./build.sh
cd python-package
python setup.py installcentos

 

三、测试测试

pythonui

import xgboostget

相关文章
相关标签/搜索