We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The R vignette " Understand your dataset with XGBoost" is quite outdated after all the changes that XGBoost has implemented since it was written.
For example, it writes:
XGBoost manages only numeric vectors. What to do when you have categorical data? To answer the question above we will convert categorical variables to numeric one.
XGBoost manages only numeric vectors.
What to do when you have categorical data? To answer the question above we will convert categorical variables to numeric one.
But categorical features are now supported.
The method we are going to see is usually called one-hot encoding.
(which makes sense given that it refers to a discretized version of a numeric variable)
But XGBoost can already do the one-hot encoding through parameters like max_cat_to_onehot.
max_cat_to_onehot
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The R vignette " Understand your dataset with XGBoost" is quite outdated after all the changes that XGBoost has implemented since it was written.
For example, it writes:
But categorical features are now supported.
(which makes sense given that it refers to a discretized version of a numeric variable)
But XGBoost can already do the one-hot encoding through parameters like
max_cat_to_onehot
.The text was updated successfully, but these errors were encountered: