@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer numberOfLabels()
The number of labels in the input data.
public final 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 final 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, up to 10,000 documents.
public final ClassifierEvaluationMetrics evaluationMetrics()
Describes the result metrics for the test data associated with an documentation classifier.
public ClassifierMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ClassifierMetadata.Builder,ClassifierMetadata>public static ClassifierMetadata.Builder builder()
public static Class<? extends ClassifierMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.