Class EntityTypesEvaluationMetrics
- java.lang.Object
-
- software.amazon.awssdk.services.comprehend.model.EntityTypesEvaluationMetrics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EntityTypesEvaluationMetrics.Builder,EntityTypesEvaluationMetrics>
@Generated("software.amazon.awssdk:codegen") public final class EntityTypesEvaluationMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntityTypesEvaluationMetrics.Builder,EntityTypesEvaluationMetrics>
Detailed information about the accuracy of an entity recognizer for a specific entity type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntityTypesEvaluationMetrics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityTypesEvaluationMetrics.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Doublef1Score()A measure of how accurate the recognizer results are for a specific entity type in the test data.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Doubleprecision()A measure of the usefulness of the recognizer results for a specific entity type in the test data.Doublerecall()A measure of how complete the recognizer results are for a specific entity type in the test data.List<SdkField<?>>sdkFields()static Class<? extends EntityTypesEvaluationMetrics.Builder>serializableBuilderClass()EntityTypesEvaluationMetrics.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
-
precision
public final Double precision()
A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.
- Returns:
- A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.
-
recall
public final Double recall()
A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.
- Returns:
- A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.
-
f1Score
public final Double f1Score()
A measure of how accurate the recognizer results are for a specific entity type in the test data. It is derived from the
PrecisionandRecallvalues. TheF1Scoreis the harmonic average of the two scores. The highest score is 1, and the worst score is 0.- Returns:
- A measure of how accurate the recognizer results are for a specific entity type in the test data. It is
derived from the
PrecisionandRecallvalues. TheF1Scoreis the harmonic average of the two scores. The highest score is 1, and the worst score is 0.
-
toBuilder
public EntityTypesEvaluationMetrics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EntityTypesEvaluationMetrics.Builder,EntityTypesEvaluationMetrics>
-
builder
public static EntityTypesEvaluationMetrics.Builder builder()
-
serializableBuilderClass
public static Class<? extends EntityTypesEvaluationMetrics.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.
-
-