@Generated(value="software.amazon.awssdk:codegen") public final class ClassifierMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClassifierMetadata.Builder,ClassifierMetadata>
Provides information about a document classifier.
Modifier and Type | Class and Description |
---|---|
static interface |
ClassifierMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
static ClassifierMetadata.Builder |
builder() |
boolean |
equals(Object obj) |
ClassifierEvaluationMetrics |
evaluationMetrics()
Describes the result metrics for the test data associated with an documentation classifier.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
numberOfLabels()
The number of labels in the input data.
|
Integer |
numberOfTestDocuments()
The number of documents in the input data that were used to test the classifier.
|
Integer |
numberOfTrainedDocuments()
The number of documents in the input data that were used to train the classifier.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClassifierMetadata.Builder> |
serializableBuilderClass() |
ClassifierMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer numberOfLabels()
The number of labels in the input data.
public Integer numberOfTrainedDocuments()
The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.
public Integer numberOfTestDocuments()
The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents.
public ClassifierEvaluationMetrics evaluationMetrics()
Describes the result metrics for the test data associated with an documentation classifier.
public ClassifierMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ClassifierMetadata.Builder,ClassifierMetadata>
public static ClassifierMetadata.Builder builder()
public static Class<? extends ClassifierMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.