Interface EntityRecognizerEvaluationMetrics.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EntityRecognizerEvaluationMetrics.Builder,EntityRecognizerEvaluationMetrics>,SdkBuilder<EntityRecognizerEvaluationMetrics.Builder,EntityRecognizerEvaluationMetrics>,SdkPojo
- Enclosing class:
- EntityRecognizerEvaluationMetrics
public static interface EntityRecognizerEvaluationMetrics.Builder extends SdkPojo, CopyableBuilder<EntityRecognizerEvaluationMetrics.Builder,EntityRecognizerEvaluationMetrics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityRecognizerEvaluationMetrics.Builderf1Score(Double f1Score)A measure of how accurate the recognizer results are for the test data.EntityRecognizerEvaluationMetrics.Builderprecision(Double precision)A measure of the usefulness of the recognizer results in the test data.EntityRecognizerEvaluationMetrics.Builderrecall(Double recall)A measure of how complete the recognizer results are for the test data.-
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 Detail
-
precision
EntityRecognizerEvaluationMetrics.Builder precision(Double precision)
A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.
- Parameters:
precision- A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recall
EntityRecognizerEvaluationMetrics.Builder recall(Double recall)
A measure of how complete the recognizer results are for the test data. High recall means that the recognizer returned most of the relevant results.
- Parameters:
recall- A measure of how complete the recognizer results are for the test data. High recall means that the recognizer returned most of the relevant results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
f1Score
EntityRecognizerEvaluationMetrics.Builder f1Score(Double f1Score)
A measure of how accurate the recognizer results are for the test data. It is derived from the
PrecisionandRecallvalues. TheF1Scoreis the harmonic average of the two scores. For plain text entity recognizer models, the range is 0 to 100, where 100 is the best score. For PDF/Word entity recognizer models, the range is 0 to 1, where 1 is the best score.- Parameters:
f1Score- A measure of how accurate the recognizer results are for the test data. It is derived from thePrecisionandRecallvalues. TheF1Scoreis the harmonic average of the two scores. For plain text entity recognizer models, the range is 0 to 100, where 100 is the best score. For PDF/Word entity recognizer models, the range is 0 to 1, where 1 is the best score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-