public class JsonModelDescriptorReader
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODEL_DETAILS_FILE |
| Constructor and Description |
|---|
JsonModelDescriptorReader() |
| Modifier and Type | Method and Description |
|---|---|
static Table |
extractTableFromJson(com.google.gson.JsonObject modelJson,
java.lang.String tablePath)
Extracts a Table from H2O's model serialized into JSON.
|
static com.google.gson.JsonObject |
parseModelJson(MojoReaderBackend mojoReaderBackend) |
public static final java.lang.String MODEL_DETAILS_FILE
public static com.google.gson.JsonObject parseModelJson(MojoReaderBackend mojoReaderBackend)
public static Table extractTableFromJson(com.google.gson.JsonObject modelJson, java.lang.String tablePath)
modelJson - Full JSON representation of a modeltablePath - Path in the given JSON to the desired table. Levels are dot-separated.Table, if there was a table found by following the given path. Otherwise null.