Importing H2O Binary Models from older versions #15523
Unanswered
hasithjp
asked this question in
Technical Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
Various H2O Models can be downloaded in two forms:
When a model is downloaded in the above-mentioned binary format, it is tied to a specific version of H2O. An attempt to import such model into any other version of H2O is going to result in an error. However, there are cases when the model is finished and is only required to be used for scoring, or extraction of information about the model. For information on how to import an existing model into a different version of H2O and use a subset of the original H2O model’s functionality, please refer to the next section named “The solution”.
Reasoning
There are multiple reasons to for incompatibility of H2O models among different versions of H2O. Primarily, parameters of models between versions may change and the behavior of any of the available models improved, resulting in change of expected behavior and mutable parameter incompatibilities. Secondly, the are many other features link to the model, like checkpointing. Using a checkpoint and continuing on a different level is not possible.
The solution
H2O Models can be exported in a MOJO format, primarily aimed towards productionizing H2O model. H2O supports loading MOJO models back into H2O and use a subset of features available to a full-fledged model. This way, the version limitation of traditional binary model can be evaded.
For the MOJOs imported into H2O, scoring is available. Basic model information is also available for all the importable MOJOs. In case of selected models, H2O is even able to display model metrics.
For more information about MOJOs, please refer to the H2O Open Source documentation. Or refer directly to the guide on how to import MOJOs into H2O.
JIRA Issue Migration Info
Jira Issue: TN-14
Assignee: Pavel Pscheidl
Reporter: Pavel Pscheidl
State: Resolved
Relates to: #8786
Beta Was this translation helpful? Give feedback.
All reactions