Interface EvaluationResult.Builder

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

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

    • f1Score

      EvaluationResult.Builder f1Score(Float f1Score)

      The F1 score for the evaluation of all labels. The F1 score metric evaluates the overall precision and recall performance of the model as a single value. A higher value indicates better precision and recall performance. A lower score indicates that precision, recall, or both are performing poorly.

      Parameters:
      f1Score - The F1 score for the evaluation of all labels. The F1 score metric evaluates the overall precision and recall performance of the model as a single value. A higher value indicates better precision and recall performance. A lower score indicates that precision, recall, or both are performing poorly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • summary

      The S3 bucket that contains the training summary.

      Parameters:
      summary - The S3 bucket that contains the training summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • summary

      The S3 bucket that contains the training summary.

      This is a convenience method that creates an instance of the Summary.Builder avoiding the need to create one manually via Summary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to summary(Summary).

      Parameters:
      summary - a consumer that will call methods on Summary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: