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

[feature request] Partykit ctree multiway support #68

Open
brickfrog opened this issue Feb 26, 2020 · 0 comments
Open

[feature request] Partykit ctree multiway support #68

brickfrog opened this issue Feb 26, 2020 · 0 comments
Labels
feature a feature request or enhancement

Comments

@brickfrog
Copy link

brickfrog commented Feb 26, 2020

Curious if it would be much work to add multiway support to ctree, which allows for non-binary splits similar to the CHAID algorithm.

Such as:

tree <- ctree(Y ~ ., data = data, control = ctree_control(maxdepth = 3,
                                                               multiway = TRUE))

tidypredict_sql(tree, dbplyr::simulate_oracle())
Error in .f(.x[[i]], ...) : Three levels are not supported

Noticed in the source code it calls that error with 3 levels. Wasn't sure if that was due to the use-case not coming up or if there's a technical limitation.

@topepo topepo added the feature a feature request or enhancement label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants