Class OCIModel.PredictionJson

java.lang.Object
org.tribuo.interop.oci.OCIModel.PredictionJson
Enclosing class:
OCIModel<T extends Output<T>>

public static final class OCIModel.PredictionJson extends Object
Carrier type for easy deserialization from JSON.
  • Field Details

    • prediction

      public double[][] prediction
      The predicted probabilities or scores.
  • Constructor Details

    • PredictionJson

      public PredictionJson(double[][] prediction)
      Constructs a prediction object.
      Parameters:
      prediction - The predicted probabilities or scores.