Skip to content

Instantly share code, notes, and snippets.

@HackerEarthBlog
Last active January 31, 2017 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HackerEarthBlog/79f0af69818e622d6f7ea01c322d34cc to your computer and use it in GitHub Desktop.
Save HackerEarthBlog/79f0af69818e622d6f7ea01c322d34cc to your computer and use it in GitHub Desktop.
Deep Learning
deepmodel <- h2o.deeplearning(x = x
,y = y
,training_frame = trainh2o
,validation_frame = testh2o
,standardize = T
,model_id = "deep_model"
,activation = "Rectifier"
,epochs = 100
,seed = 1
,hidden = 5
,variable_importances = T)
h2o.performance(deepmodel,valid = T) #85.6%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment