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 Summary
Modifier and TypeMethodDescriptionThe F1 score for the evaluation of all labels.default EvaluationResult.Builder
summary
(Consumer<Summary.Builder> summary) The S3 bucket that contains the training summary.The S3 bucket that contains the training summary.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theSummary.Builder
avoiding the need to create one manually viaSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummary(Summary)
.- Parameters:
summary
- a consumer that will call methods onSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-