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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EvaluationResult.Builderf1Score(Float f1Score)The F1 score for the evaluation of all labels.default EvaluationResult.Buildersummary(Consumer<Summary.Builder> summary)The S3 bucket that contains the training summary.EvaluationResult.Buildersummary(Summary 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
EvaluationResult.Builder summary(Summary 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
default EvaluationResult.Builder summary(Consumer<Summary.Builder> summary)
The S3 bucket that contains the training summary.
This is a convenience method that creates an instance of theSummary.Builderavoiding the need to create one manually viaSummary.builder().When the
Consumercompletes,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:
summary(Summary)
-
-