Closed venkim closed 1 year ago
We currently do not support Java in Sparkling Water, and H2O-3 doesn't expose the Java API to the outside world. Is it possible for you to use a different tech stack to achieve what you're trying to do?
please comment if there's anything more to discuss here
Sparkling Water Version
3.42
Issue description
Expected behavior: Should be able to save a model. Observed behavior: 10-27 10:10:59.142 10.9.93.208:54321 51379 FJ-1-5 INFO water.default: Completing model GBM_model_1698426647655_1 10-27 10:10:59.142 10.9.93.208:54321 51379 main WARN water.default: Model Builder for algo = GBM is not registered. Unable to determine if Model has a MOJO. Please override method haveMojo(). gbmModel status of haveMojo() is false Exception in thread "main" water.exceptions.H2ONotFoundArgumentException: Failed to find schema for version: 3 and type: GBMModel at water.api.SchemaServer.schema(SchemaServer.java:285) at water.api.SchemaServer.schema(SchemaServer.java:251) at hex.ModelMojoWriter.writeModelDetails(ModelMojoWriter.java:97) at hex.ModelMojoWriter.writeExtraInfo(ModelMojoWriter.java:89) at hex.genmodel.AbstractMojoWriter.writeTo(AbstractMojoWriter.java:169) at hex.genmodel.AbstractMojoWriter.writeTo(AbstractMojoWriter.java:160) at hex.ModelMojoWriter.writeTo(ModelMojoWriter.java:77) at org.example.TrainAModel.saveMOJOModel(TrainAModel.java:414) at org.example.TrainAModel.main(TrainAModel.java:396)
If I see additional questions- activity, I am willing to answer on code or what arguments/params I use for creating the GBM model etc.,
Also, is there a way to call predict on a gbmModel from Java, instead of using a EZPredictorWrapper ?
Programming language used
Scala
Programming language version
Java 8
What environment are you running Sparkling Water on?
Other (described above)
Environment version info
Local test cluster
Brief cluster specification
1 Node
Relevant log output
Code to reproduce the issue