What does 'feature importance' from a gradient boosting model (e.g., XGBoost) typically measure?
-
A
The p-value of each feature in a linear regression
-
B
The average gain in model performance when a feature is used in a split across all trees
-
C
The correlation of each feature with the residuals
-
D
The number of times each feature appears in the training data