| Modifier and Type | Method and Description |
|---|---|
static MlEnginePredictorExample |
create(String projectId,
String modelId,
String versionId)
Runs a simple Iris prediction against the running Iris ml-engine instance.
|
CompletionStage<List<Prediction<com.spotify.zoltar.IrisFeaturesSpec.Iris,Integer>>> |
predict(ScheduledExecutorService scheduler,
Duration timeout,
com.spotify.zoltar.IrisFeaturesSpec.Iris... input)
Functional interface.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpredict, predict, timeoutSchedulerpublic static MlEnginePredictorExample create(String projectId, String modelId, String versionId) throws Exception
Exceptionpublic CompletionStage<List<Prediction<com.spotify.zoltar.IrisFeaturesSpec.Iris,Integer>>> predict(ScheduledExecutorService scheduler, Duration timeout, com.spotify.zoltar.IrisFeaturesSpec.Iris... input)
PredictorDefaultPredictorBuilder#create(ModelLoader, FeatureExtractor, AsyncPredictFn) for an example
of usage.Copyright © 2018. All rights reserved.