Unexpected error in h2o.predict

回眸只為那壹抹淺笑 提交于 2019-12-11 00:59:13

问题


I'm trying to use h2o.predict but it's throwing a weird error. Any pointers on how to resolve it?

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

java.lang.IllegalArgumentException
 [1] "water.rapids.ASTTmpAssign.apply(ASTAssign.java:254)"
 [2] "water.rapids.ASTTmpAssign.apply(ASTAssign.java:248)"
 [3] "water.rapids.ASTExec.exec(ASTExec.java:46)"
 [4] "water.rapids.Session.exec(Session.java:56)"
 [5] "water.rapids.Exec.exec(Exec.java:63)"
 [6] "water.api.RapidsHandler.exec(RapidsHandler.java:23)"
 [7] "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)"
 [8] "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)"
 [9] "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
[10] "java.lang.reflect.Method.invoke(Method.java:606)"
[11] "water.api.Handler.handle(Handler.java:64)"
[12] "water.api.RequestServer.handle(RequestServer.java:644)"
[13] "water.api.RequestServer.serve(RequestServer.java:585)"
[14] "water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:617)"
[15] "water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:565)"
[16] "javax.servlet.http.HttpServlet.service(HttpServlet.java:755)"
[17] "javax.servlet.http.HttpServlet.service(HttpServlet.java:848)"
[18] "org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)"

回答1:


I use the h2o R package 3.6.0.3. Reloading the data set I want to do my predictions on solves the issue for me.



来源:https://stackoverflow.com/questions/35735675/unexpected-error-in-h2o-predict

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!