If you are using H2O models with StreamBase for scoring this is what you have to do:
- Get the Model as Java Code (POJO Model)
- Get the h2o-genmodel.jar (Download from the H2O cluster)
- Alternatively you can use the REST api (works in every H2O version) as below to download h2o-genmodel.jar:
curl http://localhost:54321/3/h2o-genmodel.jar > h2o-genmodel.jar
- Alternatively you can use the REST api (works in every H2O version) as below to download h2o-genmodel.jar:
- Create the project in StreamBase add H2O Model Java to the project (POJO)
- Change the H2O operator to using the POJO in Streambase.
- Adding h2o-genmodel.jar to the project’s Java Build Path\libraries
After that you can use H2O Model into StreamBase.
That’s it, enjoy!!