Class CustomBatchComputeJob<I extends org.gridgain.ml.model.MlBatchJobParameters,O>
java.lang.Object
org.gridgain.ml.compute.MlComputeJob<I,List<O>>
org.apache.ignite.example.ml.custom.CustomBatchComputeJob<I,O>
- All Implemented Interfaces:
org.apache.ignite.compute.ComputeJob<I,List<O>>
public class CustomBatchComputeJob<I extends org.gridgain.ml.model.MlBatchJobParameters,O>
extends org.gridgain.ml.compute.MlComputeJob<I,List<O>>
Compute job for Batch 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) Methods inherited from class org.gridgain.ml.compute.MlComputeJob
executeAsync, updateModelPathFromDeploymentUnits
-
Constructor Details
-
CustomBatchComputeJob
public CustomBatchComputeJob()
-
-
Method Details
-
predictAsync
public CompletableFuture<List<O>> predictAsync(org.apache.ignite.compute.JobExecutionContext context, I arg) -
inputMarshaller
-
resultMarshaller
-