Class PredictionResult<InputT,​OutputT>

  • All Implemented Interfaces:
    java.io.Serializable

    public class PredictionResult<InputT,​OutputT>
    extends java.lang.Object
    implements java.io.Serializable
    Pairs an input with its corresponding inference output.

    This class maintains the association between input data and its model's results for Downstream processing

    See Also:
    Serialized Form
    • Method Detail

      • getInput

        public InputT getInput()
      • getOutput

        public OutputT getOutput()
      • create

        public static <InputT,​OutputT> PredictionResult<InputT,​OutputT> create​(InputT input,
                                                                                           OutputT output)