ModelT - underlying type of the Model.InputT - type of the input to the FeatureExtractor.VectorT - type of the output from FeatureExtractor.ValueT - type of the prediction result.public abstract class InstrumentedPredictorBuilder<ModelT extends Model<?>,InputT,VectorT,ValueT> extends Object implements PredictorBuilder<ModelT,InputT,VectorT,ValueT>
PredictorBuilder.| Constructor and Description |
|---|
InstrumentedPredictorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
FeatureExtractor<ModelT,InputT,VectorT> |
featureExtractor() |
abstract PredictorMetrics<InputT,VectorT,ValueT> |
metrics() |
ModelLoader<ModelT> |
modelLoader() |
PredictFns.AsyncPredictFn<ModelT,InputT,VectorT,ValueT> |
predictFn() |
Predictor<InputT,ValueT> |
predictor() |
abstract PredictorBuilder<ModelT,InputT,VectorT,ValueT> |
predictorBuilder() |
InstrumentedPredictorBuilder<ModelT,InputT,VectorT,ValueT> |
with(ModelLoader<ModelT> modelLoader,
FeatureExtractor<ModelT,InputT,VectorT> featureExtractor,
PredictFns.AsyncPredictFn<ModelT,InputT,VectorT,ValueT> predictFn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwith, with, with, withpublic abstract PredictorBuilder<ModelT,InputT,VectorT,ValueT> predictorBuilder()
public abstract PredictorMetrics<InputT,VectorT,ValueT> metrics()
public ModelLoader<ModelT> modelLoader()
modelLoader in interface PredictorBuilder<ModelT extends Model<?>,InputT,VectorT,ValueT>public FeatureExtractor<ModelT,InputT,VectorT> featureExtractor()
featureExtractor in interface PredictorBuilder<ModelT extends Model<?>,InputT,VectorT,ValueT>public PredictFns.AsyncPredictFn<ModelT,InputT,VectorT,ValueT> predictFn()
public InstrumentedPredictorBuilder<ModelT,InputT,VectorT,ValueT> with(ModelLoader<ModelT> modelLoader, FeatureExtractor<ModelT,InputT,VectorT> featureExtractor, PredictFns.AsyncPredictFn<ModelT,InputT,VectorT,ValueT> predictFn)
Copyright © 2018. All rights reserved.