Skip to content

Commit

Permalink
Add H2O docs (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
kantoniak authored Jun 13, 2021
1 parent c94ecf4 commit 1c6bb7c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* [Nussknacker model overview](nussknacker-model.md)
* [Architecture overview](architecture-overview.md)
* [MLflow implementation](mlflow.md)
* [H2O integration](h2o.md)
* [Testing](testing.md)
* [Configuration](configuration.md)
* [Release process](release.md)
21 changes: 21 additions & 0 deletions docs/h2o.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# H2O integration

[H2O](https://www.h2o.ai/products/h2o/) is one of the leading machine learning platforms.
It features an open-source server with in-memory implementations of multiple popular algorithms.
Users can access the server through hosted visual notebooks or using multiple programming languages, including R and Python.
AutoML functionality helps to automatically select matching model types for provided datasets.
Created models can be deployed as
POJOs or MOJOs (_Model Object, Optimized_ - an alternative storage standard by H2O authors)
for scoring.
H2O provides both a server endpoint and a set of Java libraries for automated scoring based on deployment files.

## H2O in Prinz

Prinz uses deployment files in MOJO format.
Client shipped with Prinz allows for loading files from HTTP or local path.

Sample environment presents a minimal deployment:
- Models `.zip` files are stored on the server (see [`/dev-environment/h2o/exports/`]({{ book.sourcesRootUrl }}dev-environment/h2o/exports/), empty before training);
- Server exposes list of files as a website. [Minimal Python implementation]({{ book.sourcesRootUrl }}dev-environment/h2o/scripts/serve.py) lists files as a simple website at `localhost:5200`;
- Application [config]({{ book.sourcesRootUrl }}prinz-sample/src/main/scala/touk/nussknacker/prinz/sample/SampleConfigCreator.scala) includes H2O repository;
- Nussknacker [configuration file]({{ book.sourcesRootUrl }}dev-environment/nussknacker/opt/prinz-sample/prinz-application.conf) sets endpoint URL;

0 comments on commit 1c6bb7c

Please sign in to comment.