Closed zheng-da closed 7 years ago
test code
library(FlashR) source("/home/zhengda/FlashR-learn/R/lda.R") x <- fm.runif.matrix(1000000, 200) grouping <- fm.as.factor(fm.runif(1000000) * 10) fm.set.test.na(FALSE) object <- lda.default(x, grouping) newdata <- fm.runif.matrix(100000, 200) res <- predict.lda(object, newdata)
test code