r - Can we forcefit a chaid decision tree. Like can we choose what node to start with? -
i have made decision tree output not make sense. can choose node start , should tree split. below code:
library(chaid) ctrl <- chaid_control(minsplit = 200, minprob = 0.1) fit <- chaid(repurchasepriority ~ ., data = x, control = ctrl) print(fit) plot(fit)
Comments
Post a Comment