public interface Models
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<ModelsV3> |
delete(java.lang.String model_id) |
retrofit2.Call<ModelsV3> |
delete(java.lang.String model_id,
boolean preview,
boolean find_compatible_frames,
java.lang.String _exclude_fields)
Delete the specified Model from the H2O distributed K/V store.
|
retrofit2.Call<ModelsV3> |
deleteAll() |
retrofit2.Call<ModelsV3> |
deleteAll(java.lang.String model_id,
boolean preview,
boolean find_compatible_frames,
java.lang.String _exclude_fields)
Delete all Models from the H2O distributed K/V store.
|
retrofit2.Call<ModelExportV3> |
exportModel(java.lang.String model_id) |
retrofit2.Call<ModelExportV3> |
exportModel(java.lang.String model_id,
java.lang.String dir,
boolean force,
java.lang.String _exclude_fields)
Export given model.
|
retrofit2.Call<ModelExportV3> |
exportMojo(java.lang.String model_id) |
retrofit2.Call<ModelExportV3> |
exportMojo(java.lang.String model_id,
java.lang.String dir,
boolean force,
java.lang.String _exclude_fields)
Export given model as Mojo.
|
retrofit2.Call<ModelsV3> |
fetch(java.lang.String model_id) |
retrofit2.Call<ModelsV3> |
fetch(java.lang.String model_id,
boolean preview,
boolean find_compatible_frames,
java.lang.String _exclude_fields)
Return the specified Model from the H2O distributed K/V store, optionally with the list of compatible Frames.
|
retrofit2.Call<StreamingSchema> |
fetchJavaCode(java.lang.String model_id) |
retrofit2.Call<StreamingSchema> |
fetchJavaCode(java.lang.String model_id,
boolean preview,
boolean find_compatible_frames,
java.lang.String _exclude_fields)
[DEPRECATED] Return the stream containing model implementation in Java code.
|
retrofit2.Call<StreamingSchema> |
fetchMojo(java.lang.String model_id) |
retrofit2.Call<StreamingSchema> |
fetchMojo(java.lang.String model_id,
boolean preview,
boolean find_compatible_frames,
java.lang.String _exclude_fields)
Return the model in the MOJO format.
|
retrofit2.Call<StreamingSchema> |
fetchPreview(java.lang.String model_id) |
retrofit2.Call<StreamingSchema> |
fetchPreview(java.lang.String model_id,
boolean preview,
boolean find_compatible_frames,
java.lang.String _exclude_fields)
Return potentially abridged model suitable for viewing in a browser (currently only used for java model code).
|
retrofit2.Call<ModelsV3> |
importModel(java.lang.String model_id) |
retrofit2.Call<ModelsV3> |
importModel(java.lang.String model_id,
java.lang.String dir,
boolean force,
java.lang.String _exclude_fields)
Import given binary model into H2O.
|
retrofit2.Call<ModelsV3> |
list() |
retrofit2.Call<ModelsV3> |
list(java.lang.String model_id,
boolean preview,
boolean find_compatible_frames,
java.lang.String _exclude_fields)
Return all Models from the H2O distributed K/V store.
|
@GET(value="/3/Models/{model_id}")
retrofit2.Call<ModelsV3> fetch(@Path(value="model_id")
java.lang.String model_id,
@Field(value="preview")
boolean preview,
@Field(value="find_compatible_frames")
boolean find_compatible_frames,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
model_id - Name of Model of interestpreview - Return potentially abridged model suitable for viewing in a browserfind_compatible_frames - Find and return compatible frames?_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@GET(value="/3/Models/{model_id}")
retrofit2.Call<ModelsV3> fetch(@Path(value="model_id")
java.lang.String model_id)
@GET(value="/3/Models") retrofit2.Call<ModelsV3> list(@Field(value="model_id") java.lang.String model_id, @Field(value="preview") boolean preview, @Field(value="find_compatible_frames") boolean find_compatible_frames, @Field(value="_exclude_fields") java.lang.String _exclude_fields)
model_id - Name of Model of interestpreview - Return potentially abridged model suitable for viewing in a browserfind_compatible_frames - Find and return compatible frames?_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@GET(value="/3/Models") retrofit2.Call<ModelsV3> list()
@DELETE(value="/3/Models/{model_id}")
retrofit2.Call<ModelsV3> delete(@Path(value="model_id")
java.lang.String model_id,
@Field(value="preview")
boolean preview,
@Field(value="find_compatible_frames")
boolean find_compatible_frames,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
model_id - Name of Model of interestpreview - Return potentially abridged model suitable for viewing in a browserfind_compatible_frames - Find and return compatible frames?_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@DELETE(value="/3/Models/{model_id}")
retrofit2.Call<ModelsV3> delete(@Path(value="model_id")
java.lang.String model_id)
@DELETE(value="/3/Models") retrofit2.Call<ModelsV3> deleteAll(@Field(value="model_id") java.lang.String model_id, @Field(value="preview") boolean preview, @Field(value="find_compatible_frames") boolean find_compatible_frames, @Field(value="_exclude_fields") java.lang.String _exclude_fields)
model_id - Name of Model of interestpreview - Return potentially abridged model suitable for viewing in a browserfind_compatible_frames - Find and return compatible frames?_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@DELETE(value="/3/Models") retrofit2.Call<ModelsV3> deleteAll()
@GET(value="/3/Models.java/{model_id}/preview")
retrofit2.Call<StreamingSchema> fetchPreview(@Path(value="model_id")
java.lang.String model_id,
@Field(value="preview")
boolean preview,
@Field(value="find_compatible_frames")
boolean find_compatible_frames,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
model_id - Name of Model of interestpreview - Return potentially abridged model suitable for viewing in a browserfind_compatible_frames - Find and return compatible frames?_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@GET(value="/3/Models.java/{model_id}/preview")
retrofit2.Call<StreamingSchema> fetchPreview(@Path(value="model_id")
java.lang.String model_id)
@GET(value="/3/Models.java/{model_id}")
retrofit2.Call<StreamingSchema> fetchJavaCode(@Path(value="model_id")
java.lang.String model_id,
@Field(value="preview")
boolean preview,
@Field(value="find_compatible_frames")
boolean find_compatible_frames,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
model_id - Name of Model of interestpreview - Return potentially abridged model suitable for viewing in a browserfind_compatible_frames - Find and return compatible frames?_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@GET(value="/3/Models.java/{model_id}")
retrofit2.Call<StreamingSchema> fetchJavaCode(@Path(value="model_id")
java.lang.String model_id)
@GET(value="/3/Models/{model_id}/mojo")
retrofit2.Call<StreamingSchema> fetchMojo(@Path(value="model_id")
java.lang.String model_id,
@Field(value="preview")
boolean preview,
@Field(value="find_compatible_frames")
boolean find_compatible_frames,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
model_id - Name of Model of interestpreview - Return potentially abridged model suitable for viewing in a browserfind_compatible_frames - Find and return compatible frames?_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@GET(value="/3/Models/{model_id}/mojo")
retrofit2.Call<StreamingSchema> fetchMojo(@Path(value="model_id")
java.lang.String model_id)
@FormUrlEncoded
@POST(value="/99/Models.bin/{model_id}")
retrofit2.Call<ModelsV3> importModel(@Path(value="model_id")
java.lang.String model_id,
@Field(value="dir")
java.lang.String dir,
@Field(value="force")
boolean force,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
model_id - Save imported model under given key into DKV.dir - Source directory (hdfs, s3, local) containing serialized modelforce - Override existing model in case it exists or throw exception if set to false_exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@FormUrlEncoded
@POST(value="/99/Models.bin/{model_id}")
retrofit2.Call<ModelsV3> importModel(@Path(value="model_id")
java.lang.String model_id)
@GET(value="/99/Models.bin/{model_id}")
retrofit2.Call<ModelExportV3> exportModel(@Path(value="model_id")
java.lang.String model_id,
@Field(value="dir")
java.lang.String dir,
@Field(value="force")
boolean force,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
model_id - Name of Model of interestdir - Destination file (hdfs, s3, local)force - Overwrite destination file in case it exists or throw exception if set to false._exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@GET(value="/99/Models.bin/{model_id}")
retrofit2.Call<ModelExportV3> exportModel(@Path(value="model_id")
java.lang.String model_id)
@GET(value="/99/Models.mojo/{model_id}")
retrofit2.Call<ModelExportV3> exportMojo(@Path(value="model_id")
java.lang.String model_id,
@Field(value="dir")
java.lang.String dir,
@Field(value="force")
boolean force,
@Field(value="_exclude_fields")
java.lang.String _exclude_fields)
model_id - Name of Model of interestdir - Destination file (hdfs, s3, local)force - Overwrite destination file in case it exists or throw exception if set to false._exclude_fields - Comma-separated list of JSON field paths to exclude from the result, used like:
"/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"@GET(value="/99/Models.mojo/{model_id}")
retrofit2.Call<ModelExportV3> exportMojo(@Path(value="model_id")
java.lang.String model_id)