Class CustomComputeJob<I extends org.gridgain.ml.model.MlSimpleJobParameters,O>
java.lang.Object
org.gridgain.ml.compute.MlComputeJob<I,O>
org.apache.ignite.example.ml.custom.CustomComputeJob<I,O>
- All Implemented Interfaces:
org.apache.ignite.compute.ComputeJob<I,O>
public class CustomComputeJob<I extends org.gridgain.ml.model.MlSimpleJobParameters,O>
extends org.gridgain.ml.compute.MlComputeJob<I,O>
Compute job for Custom ML predictions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ignite.marshalling.Marshaller<I,byte[]> predictAsync(org.apache.ignite.compute.JobExecutionContext context, I arg) org.apache.ignite.marshalling.Marshaller<O,byte[]> Methods inherited from class org.gridgain.ml.compute.MlComputeJob
executeAsync, updateModelPathFromDeploymentUnits
-
Constructor Details
-
CustomComputeJob
public CustomComputeJob()
-
-
Method Details
-
predictAsync
public CompletableFuture<O> predictAsync(org.apache.ignite.compute.JobExecutionContext context, I arg) -
inputMarshaller
-
resultMarshaller
-