@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) |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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 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 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EntityRecognizerEvaluationMetrics.Builder,EntityRecognizerEvaluationMetrics>
public static EntityRecognizerEvaluationMetrics.Builder builder()
public static Class<? extends EntityRecognizerEvaluationMetrics.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.