Skip to content

Commit

Permalink
Update to version 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnocandel committed Jan 11, 2015
1 parent b0df9f0 commit 03b6a73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/examples/manycols.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Install and Launch H2O R package
if ("package:h2o" %in% search()) { detach("package:h2o", unload=TRUE) }
if ("h2o" %in% rownames(installed.packages())) { remove.packages("h2o") }
install.packages("h2o", repos=(c("http://h2o-release.s3.amazonaws.com/h2o/h2o-parsemanycols/5/R", getOption("repos"))))
install.packages("h2o", repos=(c("http://h2o-release.s3.amazonaws.com/h2o/h2o-parsemanycols/6/R", getOption("repos"))))
library(h2o)

# Connect to cluster (14 nodes with -Xmx 50g each)

# Launch H2O Cluster with YARN on HDP2.1
#wget http://h2o-release.s3.amazonaws.com/h2o/h2o-parsemanycols/5/h2o-2.9.0.5.zip
#unzip h2o-2.9.0.5.zip
#cd h2o-2.9.0.5/hadoop
#wget http://h2o-release.s3.amazonaws.com/h2o/h2o-parsemanycols/5/h2o-2.9.0.6.zip
#unzip h2o-2.9.0.6.zip
#cd h2o-2.9.0.6/hadoop
#hadoop fs -rmr myDir
#hadoop jar h2odriver_hdp2.1.jar water.hadoop.h2odriver -libjars ../h2o.jar -n 14 -mapperXmx 50g -output myDir -baseport 61111

Expand Down Expand Up @@ -46,4 +46,4 @@ mdl.rf

# Gradient Boosted Trees
mdl.gbm <- h2o.gbm(x=predictors, y=response, data=train, validation=valid, importance=T, balance.classes = T, class.sampling.factors = c(1,250))
mdl.gbm
mdl.gbm

0 comments on commit 03b6a73

Please sign in to comment.