Interface Predictor<InputT,​ValueT>

  • Type Parameters:
    InputT - type of the feature extraction input.
    ValueT - type of the prediction output.
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Predictor<InputT,​ValueT>
    Entry point for prediction, it allows to perform E2E prediction given a recipe made of a Model, FeatureExtractor and a PredictFns.PredictFn. In most cases you should use the static factory methods.