Class EvaluationMetric
- java.lang.Object
-
- software.amazon.awssdk.services.textract.model.EvaluationMetric
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EvaluationMetric.Builder,EvaluationMetric>
@Generated("software.amazon.awssdk:codegen") public final class EvaluationMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationMetric.Builder,EvaluationMetric>
The evaluation metrics (F1 score, Precision, and Recall) for an adapter version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EvaluationMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluationMetric.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Float
f1Score()
The F1 score for an adapter version.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Float
precision()
The Precision score for an adapter version.Float
recall()
The Recall score for an adapter version.List<SdkField<?>>
sdkFields()
static Class<? extends EvaluationMetric.Builder>
serializableBuilderClass()
EvaluationMetric.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
f1Score
public final Float f1Score()
The F1 score for an adapter version.
- Returns:
- The F1 score for an adapter version.
-
precision
public final Float precision()
The Precision score for an adapter version.
- Returns:
- The Precision score for an adapter version.
-
recall
public final Float recall()
The Recall score for an adapter version.
- Returns:
- The Recall score for an adapter version.
-
toBuilder
public EvaluationMetric.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<EvaluationMetric.Builder,EvaluationMetric>
-
builder
public static EvaluationMetric.Builder builder()
-
serializableBuilderClass
public static Class<? extends EvaluationMetric.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-