@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClassifierMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a document classifier.
Constructor and Description |
---|
ClassifierMetadata() |
Modifier and Type | Method and Description |
---|---|
ClassifierMetadata |
clone() |
boolean |
equals(Object obj) |
ClassifierEvaluationMetrics |
getEvaluationMetrics()
Describes the result metrics for the test data associated with an documentation classifier.
|
Integer |
getNumberOfLabels()
The number of labels in the input data.
|
Integer |
getNumberOfTestDocuments()
The number of documents in the input data that were used to test the classifier.
|
Integer |
getNumberOfTrainedDocuments()
The number of documents in the input data that were used to train the classifier.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEvaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)
Describes the result metrics for the test data associated with an documentation classifier.
|
void |
setNumberOfLabels(Integer numberOfLabels)
The number of labels in the input data.
|
void |
setNumberOfTestDocuments(Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the classifier.
|
void |
setNumberOfTrainedDocuments(Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the classifier.
|
String |
toString()
Returns a string representation of this object.
|
ClassifierMetadata |
withEvaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)
Describes the result metrics for the test data associated with an documentation classifier.
|
ClassifierMetadata |
withNumberOfLabels(Integer numberOfLabels)
The number of labels in the input data.
|
ClassifierMetadata |
withNumberOfTestDocuments(Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the classifier.
|
ClassifierMetadata |
withNumberOfTrainedDocuments(Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the classifier.
|
public void setNumberOfLabels(Integer numberOfLabels)
The number of labels in the input data.
numberOfLabels
- The number of labels in the input data.public Integer getNumberOfLabels()
The number of labels in the input data.
public ClassifierMetadata withNumberOfLabels(Integer numberOfLabels)
The number of labels in the input data.
numberOfLabels
- The number of labels in the input data.public void setNumberOfTrainedDocuments(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.
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 getNumberOfTrainedDocuments()
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 ClassifierMetadata withNumberOfTrainedDocuments(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.
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 void setNumberOfTestDocuments(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.
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 Integer getNumberOfTestDocuments()
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 ClassifierMetadata withNumberOfTestDocuments(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.
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 void setEvaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)
Describes the result metrics for the test data associated with an documentation classifier.
evaluationMetrics
- Describes the result metrics for the test data associated with an documentation classifier.public ClassifierEvaluationMetrics getEvaluationMetrics()
Describes the result metrics for the test data associated with an documentation classifier.
public ClassifierMetadata withEvaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)
Describes the result metrics for the test data associated with an documentation classifier.
evaluationMetrics
- Describes the result metrics for the test data associated with an documentation classifier.public String toString()
toString
in class Object
Object.toString()
public ClassifierMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.