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]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.