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 interfaceEvaluationMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluationMetric.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Floatf1Score()The F1 score for an adapter version.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Floatprecision()The Precision score for an adapter version.Floatrecall()The Recall score for an adapter version.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EvaluationMetric.Builder>serializableBuilderClass()EvaluationMetric.BuildertoBuilder()StringtoString()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-