@Generated(value="software.amazon.awssdk:codegen") public final class EntityRecognizerEvaluationMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntityRecognizerEvaluationMetrics.Builder,EntityRecognizerEvaluationMetrics>
Detailed information about the accuracy of an entity recognizer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EntityRecognizerEvaluationMetrics.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EntityRecognizerEvaluationMetrics.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Double |
f1Score()
A measure of how accurate the recognizer results are for the test data.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
precision()
A measure of the usefulness of the recognizer results in the test data.
|
Double |
recall()
A measure of how complete the recognizer results are for the test data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EntityRecognizerEvaluationMetrics.Builder> |
serializableBuilderClass() |
EntityRecognizerEvaluationMetrics.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final 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.
public final Double f1Score()
A measure of how accurate the recognizer results are for the test data. It is derived from the
Precision and Recall values. The F1Score is the harmonic average of the
two scores. The highest score is 1, and the worst score is 0.
Precision and Recall values. The F1Score is the harmonic average
of the two scores. The highest score is 1, and the worst score is 0.public EntityRecognizerEvaluationMetrics.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EntityRecognizerEvaluationMetrics.Builder,EntityRecognizerEvaluationMetrics>public static EntityRecognizerEvaluationMetrics.Builder builder()
public static Class<? extends EntityRecognizerEvaluationMetrics.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.