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).

Plot importance variables xgboost Python

When I plot the feature importance, I get this messy plot. I have more than 7000 variables. I understand the built-in …

python matplotlib machine-learning xgboost feature-selection
xgboost: handling of missing values for split candidate search

in section 3.4 of their article, the authors explain how they handle missing values when searching the best candidate split for …

search split missing-data xgboost candidate
xgboost sklearn wrapper value 0for Parameter num_class should be greater equal to 1

I am trying to use the XGBClassifier wrapper provided by sklearn for a multiclass problem. My classes are [0, 1, 2], the objective …

python scikit-learn xgboost
Names features importance plot after preprocessing

Before building a model I make scaling like this X = StandardScaler(with_mean = 0, with_std = 1).fit_transform(X) and after …

python xgboost
Trouble training xgboost on categorical column

I am trying to run a Python notebook (link). At line below In [446]: where author train XGBoost, I am getting …

python xgboost categorical-data
xgb.plot_tree font size python

I make a picture as bellow import matplotlib.pylab as plt %matplotlib inline from matplotlib.pylab import rcParams ..... i miss …

python fonts xgboost
What does the value of 'leaf' in the following xgboost model tree diagram means?

I am guessing that it is conditional probability given that the above (tree branch) condition exists. However, I am not …

python machine-learning random-forest decision-tree xgboost
What is the difference between xgb.train and xgb.XGBRegressor (or xgb.XGBClassifier)?

I already know "xgboost.XGBRegressor is a Scikit-Learn Wrapper interface for XGBoost." But do they have any other difference?

python machine-learning scikit-learn regression xgboost
What does get_fscore() of an xgboost ML model do?

Does anybody how the numbers are calculated? In the documentation it says that this function "Get feature importance of each …

python feature-selection xgboost
XGBOOST: sample_Weights vs scale_pos_weight

I have a highly unbalanced dataset and am wondering where to account for the weights, and thus am trying to …

python scikit-learn xgboost