我试图使用h2o.predict,但是它引发了一个奇怪的错误。有关如何解决它的任何指示?
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)"
答案 0 :(得分:0)
我使用的是h2o R软件包3.6.0.3。重新加载数据集我想做我的预测,为我解决问题。