public class IgniteModelStorageUtil extends Object
Constructor and Description |
---|
IgniteModelStorageUtil() |
Modifier and Type | Method and Description |
---|---|
static Model<Vector,Future<Double>> |
getAsyncModel(Ignite ignite,
String name,
AsyncModelBuilder mdlBldr)
Retrieves Ignite model by name using asynchronous model builder.
|
static <I extends Serializable,O extends Serializable> |
getModel(Ignite ignite,
String name)
Retrieves Ignite model by name using
SingleModelBuilder . |
static <I extends Serializable,O extends Serializable> |
getSyncModel(Ignite ignite,
String name,
SyncModelBuilder mdlBldr)
Retrieves Ignite model by name using synchronous model builder.
|
static void |
removeModel(Ignite ignite,
String name)
Removes model with specified name.
|
static <I extends Serializable,O extends Serializable> |
saveModel(Ignite ignite,
IgniteModel<I,O> mdl,
String name)
Saved specified model with specified name.
|
public static <I extends Serializable,O extends Serializable> void saveModel(Ignite ignite, IgniteModel<I,O> mdl, String name)
I
- Type of input.O
- Type of output.ignite
- Ignite instance.mdl
- Model to be saved.name
- Model name to be used.public static void removeModel(Ignite ignite, String name)
ignite
- Ignite instance.name
- Mode name to be removed.public static <I extends Serializable,O extends Serializable> Model<I,O> getModel(Ignite ignite, String name)
SingleModelBuilder
.I
- Type of input.O
- Type of output.ignite
- Ignite instance.name
- Model name.SingleModelBuilder
.public static <I extends Serializable,O extends Serializable> Model<I,O> getSyncModel(Ignite ignite, String name, SyncModelBuilder mdlBldr)
I
- Type of input.O
- Type of output.ignite
- Ignite instance.name
- Model name.mdlBldr
- Synchronous model builder.public static Model<Vector,Future<Double>> getAsyncModel(Ignite ignite, String name, AsyncModelBuilder mdlBldr)
ignite
- Ignite instance.name
- Model name.mdlBldr
- Asynchronous model builder.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024