I tried to send an email to the author of this package without success, just wondering if anyone else had this experience.
I use rpartfor 4000 rows of data with 13 attributes. I can run the same test on 300 rows of the same data without problems. When I run 4000 lines, Rgui.exe runs sequentially with 50% of the CPU and the user interface freezes; he will remain so for at least 4-5 hours if I let him start and never go out and never react.
here is the code that I use both on a subset of 300 and 4000:
train <- read.csv("input.csv", header=T)
y <- train[, 18]
x <- train[, 3:17]
library(rpart)
fit <- rpart(y ~ ., x)
Is this a known limitation rpart, am I doing something wrong? possible workarounds?
source
share