Skip to content

Commit

Permalink
RF1 test for VA
Browse files Browse the repository at this point in the history
  • Loading branch information
srisatish committed Dec 21, 2013
1 parent db7ac88 commit d0c8bcd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions R/tests/testdir_algos/testdir_rf/runit_RF.VA_covtype_all.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"-f")))
source('../../findNSourceUtils.R')

test.RF.VA.covtype_class <- function(conn) {
covtype.hex = h2o.uploadFile.VA(conn, locate( "smalldata/covtype/covtype.20k.data"), "covtype.hex")
covtype.rf = h2o.randomForest.VA(y = 54, x = seq(1,53), data = covtype.hex, ntree = 50, depth = 100)
print(covtype.rf)
testEnd()
}

doTest("RF1 VA test covtype all", test.RF.VA.covtype_class)

0 comments on commit d0c8bcd

Please sign in to comment.