Linux 安装 gbdt xgboost lightgbm

  • 正式版

pip install gbdt

  • 正式版

pip install xgboost

  • 正式版

pip install lightgbm

  • 开发版

pip install git+https://github.com/yarny/gbdt.git

  • 开发版

git clone --recursive https://github.com/dmlc/xgboost

cd xgboost

make all -j8

make pippack -j8

make pypack -j8

cd xgboost-python

python setup.py install

  • 开发版

git clone --recursive https://github.com/Microsoft/LightGBM

cd LightGBM

mkdir build

cd build

cmake ..

make -j8

cd python-package

python setup.py install

猜你喜欢

转载自www.cnblogs.com/jhc888007/p/9398275.html