unused argument (key = "airlines.hex") error with h2o.importFile

328 views
Skip to first unread message

sunilchi...@gmail.com

unread,
Aug 26, 2015, 7:43:43 AM8/26/15
to H2O Open Source Scalable Machine Learning - h2ostream
library(h2o)
localH2O = h2o.init(nthreads = -1)
airlinesURL = "https://s3.amazonaws.com/h2o-airlines-unpacked/allyears2k.csv"
airlines.hex = h2o.importFile(localH2O, path = airlinesURL, key = "airlines.hex")
print(summary(airlines.hex))

is the code I am trying to execute from RStudio but I ended up getting the below mentioned error -

Error in h2o.importFile(localH2O, path = airlinesURL, key = "airlines.hex") :
unused argument (key = "airlines.hex")

Just wondering why this instruction from training manual is not working. Can some one help please?

Sunil

Rodolfo Viana

unread,
Aug 26, 2015, 7:53:40 AM8/26/15
to sunilchi...@gmail.com, H2O Open Source Scalable Machine Learning - h2ostream
Hi, 

You should try this way 

library(h2o)
localH2O = h2o.init(nthreads = -1)
airlines.hex = h2o.importFile(localH2O, path = airlinesURL, destination_frame = "airlines.hex")
print(summary(airlines.hex))

"destination_frame - (Optional) The unique hex key assigned to the imported file. If none is given, a key will automatically be generated based on the URL path."




--
You received this message because you are subscribed to the Google Groups "H2O Open Source Scalable Machine Learning  - h2ostream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2ostream+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Rodolfo de Lima Viana
Undergraduate in Computer Science at UFCG

Reply all
Reply to author
Forward
0 new messages