Saturday, July 14, 2018

XGBOOST Installation in Ubuntu

xgboost

XGBOOST

import pandas as pd
import xgboost as xgb
from sklearn.preprocessing import LabelEncoder
import numpy as np

##How To Install

### Install xgboost

git clone --recursive https://github.com/dmlc/xgboost.git
cd xgboost
./build.sh ```

cd python-package
python setup.py install
#or pip3 install -e python-package  

Install Others

pip3 install pandas
pip3 install scipy
pip3 install numpy==1.13.3
pip3 install sklearn

No comments:

Post a Comment