vibha patel
2010-Mar-29 12:13 UTC
[R] package earth - forward pass: out of memory error, how to resolve this?
Hello, while using earth function, I'm getting the out of memory error: the dataset is too small(dimension is displayed in code). how to resole this error?> tr.sub1 <- sample(1:nrow(HCMauto), .8 * nrow(HCMauto)) > tst.sub1 <- (1:nrow(HCMauto))[-tr.sub1] > HCMm1 <- earth(V1 ~ ., data = HCMauto[tr.sub1, ])Error in forward.pass(x, y, standardized.weights, scale.y, trace, penalty, : Out of memory (could not allocate 2017.29 MBytes)> dim(HCMauto)[1] 85 10> dim(HCMauto[tr.sub1,])[1] 68 10 Thanks. Vibha [[alternative HTML version deleted]]