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

@bgreenwell bgreenwell commented Feb 23, 2018

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.

@bgreenwell bgreenwell closed this Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.