You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Categorical features typically have named categories. Would be quite helpful to show those on the plots instead of the numbers, which might not be easy to mentally map to a given category.
For this, I guess that a potential solution could be to add an additional dmatrix/booster string attribure for "categorical_names" or so, like there is a "feature_name".
The text was updated successfully, but these errors were encountered:
XGBoost takes encoded categories instead of raw data, as a result, there's no name for them. We need to think of a way to pass the information from the encoder to XGB
When producing a plot of a tree with categorical splits, the plots will use the numbers of the categories:
Categorical features typically have named categories. Would be quite helpful to show those on the plots instead of the numbers, which might not be easy to mentally map to a given category.
For this, I guess that a potential solution could be to add an additional dmatrix/booster string attribure for "categorical_names" or so, like there is a "feature_name".
The text was updated successfully, but these errors were encountered: