Package org.gridgain.internal.ml.compute
Class MlSqlPredictionJob<I extends org.gridgain.ml.model.MlSqlJobParameters,O>
java.lang.Object
org.gridgain.ml.compute.MlComputeJob<I,List<O>>
org.gridgain.internal.ml.compute.MlSqlPredictionJob<I,O>
- All Implemented Interfaces:
org.apache.ignite.compute.ComputeJob<I,List<O>>
public class MlSqlPredictionJob<I extends org.gridgain.ml.model.MlSqlJobParameters,O>
extends org.gridgain.ml.compute.MlComputeJob<I,List<O>>
Compute job for SQL-based ML predictions using ML_EMBEDDED executor.
This job takes MlSqlJobParameters and returns a list of raw prediction results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <I extends org.gridgain.ml.model.MlSqlJobParameters,O>
Class<? extends org.apache.ignite.compute.ComputeJob<I,List<O>>> jobClass()predictAsync(org.apache.ignite.compute.JobExecutionContext context, @Nullable org.gridgain.ml.model.MlSqlJobParameters arg) Methods inherited from class org.gridgain.ml.compute.MlComputeJob
executeAsync, inputMarshaller, updateModelPathFromDeploymentUnits
-
Constructor Details
-
MlSqlPredictionJob
public MlSqlPredictionJob()
-
-
Method Details
-
jobClass
-
predictAsync
public CompletableFuture<List<O>> predictAsync(org.apache.ignite.compute.JobExecutionContext context, @Nullable @Nullable org.gridgain.ml.model.MlSqlJobParameters arg) -
resultMarshaller
-