You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to create a feature/column in a dataset that indicates which leaf node a record belongs to, based on the leaf node prediction. Examining the feature values and conducting a one-way anova on the leaf nodes are the main goals.
I do not understand the rpart documentation enough to see if rpart already provides that functionality. I am self-taught in R.
I tried to create a nested series of ifelse statements one at a time to make sure I didn't flub up on the syntax, but that only worked for a while. Eventually, it got to the point where I got error messages that could not be resolved. It is a very large decision tree with 16 leaf nodes.
Performing this task in R would be best, but exporting the dataset to Excel and re-importing it into R seems to be my only alternative at the moment.
I would appreciate it if someone had any suggestions on how to complete this task in R, rpart, or some other package.
The text was updated successfully, but these errors were encountered:
I want to create a feature/column in a dataset that indicates which leaf node a record belongs to, based on the leaf node prediction. Examining the feature values and conducting a one-way anova on the leaf nodes are the main goals.
I do not understand the rpart documentation enough to see if rpart already provides that functionality. I am self-taught in R.
I tried to create a nested series of ifelse statements one at a time to make sure I didn't flub up on the syntax, but that only worked for a while. Eventually, it got to the point where I got error messages that could not be resolved. It is a very large decision tree with 16 leaf nodes.
Performing this task in R would be best, but exporting the dataset to Excel and re-importing it into R seems to be my only alternative at the moment.
I would appreciate it if someone had any suggestions on how to complete this task in R, rpart, or some other package.
The text was updated successfully, but these errors were encountered: