object ModelSerializationSupport extends ModelSerializationSupport
- Annotations
- @Deprecated
- Alphabetic
- By Inheritance
- ModelSerializationSupport
- ModelSerializationSupport
- Logging
- Serializable
- Serializable
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
H2OBaseModel = Model[_, _ <: Parameters, _ <: Output]
- Definition Classes
- ModelSerializationSupport
Value Members
-
def
exportH2OModel(model: H2OBaseModel, destination: String, force: Boolean): String
Export binary model to specified directory
Export binary model to specified directory
- model
model to export
- destination
destination path
- force
override the model if it already exist in the destination URI
- returns
destination URI
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
exportH2OModel(model: H2OBaseModel, destination: URI, force: Boolean = false): URI
Export binary model to specified directory
Export binary model to specified directory
- model
model to export
- destination
destination URI
- force
override the model if it already exist in the destination URI
- returns
destination URI
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
exportMOJOModel(model: H2OBaseModel, destination: String, force: Boolean): String
Export MOJO model to specified directory
Export MOJO model to specified directory
- model
model to export
- destination
destination path
- force
override the model if it already exist in the destination URI
- returns
destination URI
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
exportMOJOModel(model: H2OBaseModel, destination: URI, force: Boolean = false): URI
Export MOJO model to specified directory
Export MOJO model to specified directory
- model
model to export
- destination
destination URI
- force
override the model if it already exist in the destination URI
- returns
destination URI
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
exportPOJOModel(model: H2OBaseModel, destination: String, force: Boolean): String
Export POJO model to specified directory
Export POJO model to specified directory
- model
model to export
- destination
destination path
- force
override the model if it already exist in the destination URI
- returns
destination URI
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
exportPOJOModel(model: H2OBaseModel, destination: URI, force: Boolean = false): URI
Export POJO model to specified directory
Export POJO model to specified directory
- model
model to export
- destination
destination URI
- force
override the model if it already exist in the destination URI
- returns
destination URI
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
getMojo(model: H2OBaseModel): (MojoModel, Array[Byte])
Get MOJO from a model
Get MOJO from a model
- model
model to get MOJO from
- returns
tuple containing MOJO model and binary bytes representing the MOJO
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
getMojoData(model: H2OBaseModel): Array[Byte]
Get MOJO binary representation from a model
Get MOJO binary representation from a model
- model
model to get the binary representation of a MOJO from
- returns
byte array representing the MOJO
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
getMojoModel(mojoData: Array[Byte]): MojoModel
Get MOJO from a binary representation of MOJO
Get MOJO from a binary representation of MOJO
- mojoData
data representing the MOJO model
- returns
MOJO model
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
getMojoModel(model: H2OBaseModel): MojoModel
Get MOJO from a model
Get MOJO from a model
- model
model to get MOJO from
- returns
MOJO model
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
loadH2OModel[M <: H2OBaseModel](source: String): M
Load H2O binary model from specified directory
Load H2O binary model from specified directory
- M
Model Type
- source
source path
- returns
imported model
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
loadH2OModel[M <: H2OBaseModel](source: URI): M
Load H2O binary model from specified directory
Load H2O binary model from specified directory
- M
Model Type
- source
source URI
- returns
imported model
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( ... , ... )
-
def
loadMOJOModel(source: URI): MojoModel
Load MOJO model from specified directory
Load MOJO model from specified directory
- source
source URI
- returns
H2O's Mojo model
- Definition Classes
- ModelSerializationSupport
- Annotations
- @DeprecatedMethod( "H2OMOJOModel.createFromMojo" , ... )