1、先安装git  

ubuntu:   apt-get install git

centos:    yum install git

 

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

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

 

3、测试

python

import xgboost

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2022-01-14
  • 2021-06-11
  • 2022-01-09
  • 2022-12-23
猜你喜欢
  • 2021-08-07
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-02-11
  • 2021-11-05
相关资源
相似解决方案