xgboost is a package that implements the extreme gradient boosting (XGBoost) algorithm for classification and regression. XGBoost is a machine-learning method that uses an ensemble of boosted trees to make predictions.