@Generated(value="software.amazon.awssdk:codegen") public final class ClassifierEvaluationMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClassifierEvaluationMetrics.Builder,ClassifierEvaluationMetrics>
Describes the result metrics for the test data associated with an documentation classifier.
Modifier and Type | Class and Description |
---|---|
static interface |
ClassifierEvaluationMetrics.Builder |
Modifier and Type | Method and Description |
---|---|
Double |
accuracy()
The fraction of the labels that were correct recognized.
|
static ClassifierEvaluationMetrics.Builder |
builder() |
boolean |
equals(Object obj) |
Double |
f1Score()
A measure of how accurate the classifier 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 classifier results in the test data.
|
Double |
recall()
A measure of how complete the classifier results are for the test data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClassifierEvaluationMetrics.Builder> |
serializableBuilderClass() |
ClassifierEvaluationMetrics.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 accuracy()
The fraction of the labels that were correct recognized. It is computed by dividing the number of labels in the test documents that were correctly recognized by the total number of labels in the test documents.
public Double precision()
A measure of the usefulness of the classifier results in the test data. High precision means that the classifier returned substantially more relevant results than irrelevant ones.
public Double recall()
A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results.
public Double f1Score()
A measure of how accurate the classifier 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 ClassifierEvaluationMetrics.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ClassifierEvaluationMetrics.Builder,ClassifierEvaluationMetrics>
public static ClassifierEvaluationMetrics.Builder builder()
public static Class<? extends ClassifierEvaluationMetrics.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.