public class ClassifierMetadata
extends java.lang.Object
implements java.io.Serializable
Provides information about a document classifier.
Constructor and Description |
---|
ClassifierMetadata() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ClassifierEvaluationMetrics |
getEvaluationMetrics()
Describes the result metrics for the test data associated with an
documentation classifier.
|
java.lang.Integer |
getNumberOfLabels()
The number of labels in the input data.
|
java.lang.Integer |
getNumberOfTestDocuments()
The number of documents in the input data that were used to test the
classifier.
|
java.lang.Integer |
getNumberOfTrainedDocuments()
The number of documents in the input data that were used to train the
classifier.
|
int |
hashCode() |
void |
setEvaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)
Describes the result metrics for the test data associated with an
documentation classifier.
|
void |
setNumberOfLabels(java.lang.Integer numberOfLabels)
The number of labels in the input data.
|
void |
setNumberOfTestDocuments(java.lang.Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the
classifier.
|
void |
setNumberOfTrainedDocuments(java.lang.Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the
classifier.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClassifierMetadata |
withEvaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)
Describes the result metrics for the test data associated with an
documentation classifier.
|
ClassifierMetadata |
withNumberOfLabels(java.lang.Integer numberOfLabels)
The number of labels in the input data.
|
ClassifierMetadata |
withNumberOfTestDocuments(java.lang.Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the
classifier.
|
ClassifierMetadata |
withNumberOfTrainedDocuments(java.lang.Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the
classifier.
|
public java.lang.Integer getNumberOfLabels()
The number of labels in the input data.
The number of labels in the input data.
public void setNumberOfLabels(java.lang.Integer numberOfLabels)
The number of labels in the input data.
numberOfLabels
- The number of labels in the input data.
public ClassifierMetadata withNumberOfLabels(java.lang.Integer numberOfLabels)
The number of labels in the input data.
Returns a reference to this object so that method calls can be chained together.
numberOfLabels
- The number of labels in the input data.
public java.lang.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.
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 setNumberOfTrainedDocuments(java.lang.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 ClassifierMetadata withNumberOfTrainedDocuments(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.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.
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 setNumberOfTestDocuments(java.lang.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 ClassifierMetadata withNumberOfTestDocuments(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 ClassifierEvaluationMetrics getEvaluationMetrics()
Describes the result metrics for the test data associated with an documentation classifier.
Describes the result metrics for the test data associated with an documentation classifier.
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 ClassifierMetadata withEvaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)
Describes the result metrics for the test data associated with an documentation classifier.
Returns a reference to this object so that method calls can be chained together.
evaluationMetrics
- Describes the result metrics for the test data associated with an documentation classifier.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.