--
You received this message because you are subscribed to the Google Groups "H2O Open Source Scalable Machine Learning - h2ostream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2ostream+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Lauren,
Thank you for the quick response. I think I didn’t phrase my question correctly. I have algorithms that I have developed outside H2O. Some of them are in Java, some of them are in R and some are in Python.
I am impressed with the H2O framework, but would like to add my ML algorithms to it. These are algorithms that are not trained on data yet. Some of them are classifiers/regressors, some of them are feature engineering algorithms.
What is the process of making these algorithms available in H2O Flow, so that when I click on ‘buildModel’ they will be part of “Select an algorithm” drop-down.
Do I need to rewrite them using H2O library? Is it possible to write a thin wrapper for each of the algorithms without rewriting them? What is the api these algorithms should support?
Thank you for your help,
Helena
Hi Lauren,
Thank you for the quick response. I think I didn’t phrase my question correctly. I have algorithms that I have developed outside H2O. Some of them are in Java, some of them are in R and some are in Python.
I am impressed with the H2O framework, but would like to add my ML algorithms to it.
flow.context.requestExec "expr goes here", (err, result) -> print if err then err else result
To make it easier to call run this once:
callRapids = (expr) -> flow.context.requestExec expr, (err, result) -> print if err then err else result
and then you can do this several times:
callRapids 'the expr'
Thank you. This helps, I will read the blogs and let you know if I have follow up questions.
I have another related questions. Is it possible to export a trained algorithm as a RESTful service to be deployed outside H2O framework?
Thank you,
Helena
Thank you. This helps, I will read the blogs and let you know if I have follow up questions.
I have another related questions. Is it possible to export a trained algorithm as a RESTful service to be deployed outside H2O framework?
I am following this example - http://blog.h2o.ai/2014/11/hacking-algorithms-into-h2o-kmeans/. I think lots of things changed since it has been written. For examples,
1.
This paragraph refers to ExampleHandler.java file, but there’s no such file – “Then I copied the three GUI/REST files in h2o-algos/src/main/java/hex/schemas
with
Example in the name (ExampleHandler.java
, ExampleModelV2.java
,ExampleV2
)
to their KMeans2*
variants.”
2.
This file doesn’t exist either – “I also copied the h2o-algos/src/main/java/hex/api/ExampleBuilderHandler.java
file
to its KMeans2
variant.”
3.
The lines referred in this sentence are not there – “I also dove into h2o-app/src/main/java/water/H2OApp.java
and
copied the two Example
lines
and made their KMeans2
variants.”
I put together a simple model example with a unit test. The unit test runs fine. Now I want the model to show up in the Flow web-ui. What should I do?
Thank you,
Helena
I am following this example - http://blog.h2o.ai/2014/11/hacking-algorithms-into-h2o-kmeans/. I think lots of things changed since it has been written.