Skip to content
New issue

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

Plotting categorical variables from gbm models #63

Closed
bgreenwell opened this issue Feb 23, 2018 · 0 comments
Closed

Plotting categorical variables from gbm models #63

bgreenwell opened this issue Feb 23, 2018 · 0 comments

Comments

@bgreenwell
Copy link
Owner

There's a small bug when constructing the partial dependence function for categorical variables from gbm objects whenever recursive = TRUE. Need to recode the categorical variables as integers 0, 1, ..., K and then convert back afterward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant