Interface Prediction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Prediction.Builder,Prediction>, SdkBuilder<Prediction.Builder,Prediction>, SdkPojo
Enclosing class:
Prediction

public static interface Prediction.Builder extends SdkPojo, CopyableBuilder<Prediction.Builder,Prediction>
  • Method Details

    • predictedLabel

      Prediction.Builder predictedLabel(String predictedLabel)

      The prediction label for either a BINARY or MULTICLASS MLModel.

      Parameters:
      predictedLabel - The prediction label for either a BINARY or MULTICLASS MLModel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictedValue

      Prediction.Builder predictedValue(Float predictedValue)

      The prediction value for REGRESSION MLModel.

      Parameters:
      predictedValue - The prediction value for REGRESSION MLModel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictedScores

      Prediction.Builder predictedScores(Map<String,Float> predictedScores)
      Sets the value of the PredictedScores property for this object.
      Parameters:
      predictedScores - The new value for the PredictedScores property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detailsWithStrings

      Prediction.Builder detailsWithStrings(Map<String,String> details)
      Sets the value of the Details property for this object.
      Parameters:
      details - The new value for the Details property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Sets the value of the Details property for this object.
      Parameters:
      details - The new value for the Details property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.