Install XGBoost [GPU] on Ubuntu 16.04

CUDA Toolkit 9.2 Download
Before updating to the latest version of CUDA 9.2 (9.2.148) on the AC922 POWER 9 system, ensure that the IBM AC922…
developer.nvidia.com

sudo dpkg -i cuda-repo-ubuntu1604–9–2-local_9.2.148–1_amd64.debsudo apt-get updatesudo apt-get install cuda
export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}}export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64\ ${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

git clone — recursive https://github.com/dmlc/xgboostcd xgboostmkdir buildcd buildcmake .. -DUSE_CUDA=ONmake -j
clf = xgb.XGBClassifier(colsample_bytree=0.4603, 
                        learning_rate=0.02,
                        max_depth=4,
                        tree_method = ‘gpu_hist’)

0 thoughts on “Install XGBoost [GPU] on Ubuntu 16.04

  1. Your work is amaing Bhavika,
    It is very helpful people like newbies (especially me 🙂 )
    Please keep posting such materials
    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Installation Tutorials