Unexpected HTTP Status code: 400 Bad Request in H20.gbm

h2o

#1

Hello Everyone,

I m getting one error while i m running h20.gbm in R. Can anyone help me resolving this error.

@Mark Landry @Lesaffrea @shuvayan @Aarshay

ERROR: Unexpected HTTP Status code: 400 Bad Request (url = http://127.0.0.1:54321/99/Rapids)

java.lang.IllegalArgumentException
[1] “water.rapids.ASTNumList.exec(ASTNumList.java:130)”
[2] “water.rapids.ASTBinOp.apply(ASTBinOp.java:23)”
[3] “water.rapids.ASTExec.exec(ASTExec.java:46)”
[4] “water.rapids.ASTBinOp.apply(ASTBinOp.java:23)”
[5] “water.rapids.ASTExec.exec(ASTExec.java:46)”

Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, :
Number list not allowed here


#2

hello @Rohit_Nair,

I think that the h2o.gbm will not take normal lists like in R but rather a h2o object.
Please check the h2o documentation for more details.


#3

Hi Rohit,
this time I can not help :frowning: I do not use h20
Alain


#4

@shuvayan i used H20 objectt only. Dunno whats the issue was…

@Lesaffrea No prob :slight_smile: :slight_smile:

Thanks,
Rohit


#5

even i am not sure :frowning: one issue can be if you are not using latest versions of both R and h2o.Also please check if all the dependencies for h2o are there.


#6

Thans @shuvayan .Issue was with the diffrent versions. :frowning: