Top "Xgboost" questions

XGBoost is a library for constructing boosted tree models in R, Python, Java, Scala, and C++. Use this tag for issues specific to the package (i.e. input/output, installation, functionality).

Xgboost dealing with imbalanced classification data

I have a dataset of some 20000 training examples, on which i want to do a binary classification. The problem is …

r xgboost
AUC metrics on XGBoost

I build my model for prediction with XGBoost: setDT(train) setDT(test) labels <- train$Goal ts_label <…

r xgboost auc
How do I use a TimeSeriesSplit with a GridSearchCV object to tune a model in scikit-learn?

I've searched the sklearn docs for TimeSeriesSplit and the docs for cross-validation but I haven't been able to find a …

python scikit-learn xgboost
Multiclass classification with xgboost classifier?

I am trying out multi-class classification with xgboost and I've built it using this code, clf = xgb.XGBClassifier(max_depth=7, …

python machine-learning scikit-learn xgboost
How to change size of plot in xgboost.plot_importance?

xgboost.plot_importance(model, importance_type='gain') I am not able to change size of this plot. I want to …

python python-3.x matplotlib machine-learning xgboost
How does XGBoost do parallel computation?

XGBoost uses the method of additive training in which it models the residual of the previous model. This is sequential …

xgboost
What is the difference between num_boost_round and n_estimators

I saw that some xgboost methods take a parameter num_boost_round, like this: model = xgb.cv(params, dtrain, num_…

python xgboost
ImportError: No module named numpy.distutils.core (Ubuntu xgboost installation)

I recently downloaded Ubuntu 14.04 desktop version alongside Windows 10. My PC configs are: 4 GB RAM, 64 bit I installed Anaconda after downloading …

python numpy github ubuntu-14.04 xgboost
Using f-score in xgb

I'm trying use f-score from scikit-learn as evaluation metric in xgb classifier. Here is my code: clf = xgb.XGBClassifier(max_…

python xgboost evaluation-function
feature_names must be unique - Xgboost

I am running the xgboost model for a very sparse matrix. I am getting this error. ValueError: feature_names must …

python pandas xgboost sklearn-pandas