public class EntityRecognizerMetadata
extends java.lang.Object
implements java.io.Serializable
Detailed information about an entity recognizer.
Constructor and Description |
---|
EntityRecognizerMetadata() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<EntityRecognizerMetadataEntityTypesListItem> |
getEntityTypes()
Entity types from the metadata of an entity recognizer.
|
EntityRecognizerEvaluationMetrics |
getEvaluationMetrics()
Detailed information about the accuracy of an entity recognizer.
|
java.lang.Integer |
getNumberOfTestDocuments()
The number of documents in the input data that were used to test the
entity recognizer.
|
java.lang.Integer |
getNumberOfTrainedDocuments()
The number of documents in the input data that were used to train the
entity recognizer.
|
int |
hashCode() |
void |
setEntityTypes(java.util.Collection<EntityRecognizerMetadataEntityTypesListItem> entityTypes)
Entity types from the metadata of an entity recognizer.
|
void |
setEvaluationMetrics(EntityRecognizerEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
|
void |
setNumberOfTestDocuments(java.lang.Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the
entity recognizer.
|
void |
setNumberOfTrainedDocuments(java.lang.Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the
entity recognizer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EntityRecognizerMetadata |
withEntityTypes(java.util.Collection<EntityRecognizerMetadataEntityTypesListItem> entityTypes)
Entity types from the metadata of an entity recognizer.
|
EntityRecognizerMetadata |
withEntityTypes(EntityRecognizerMetadataEntityTypesListItem... entityTypes)
Entity types from the metadata of an entity recognizer.
|
EntityRecognizerMetadata |
withEvaluationMetrics(EntityRecognizerEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
|
EntityRecognizerMetadata |
withNumberOfTestDocuments(java.lang.Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the
entity recognizer.
|
EntityRecognizerMetadata |
withNumberOfTrainedDocuments(java.lang.Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the
entity recognizer.
|
public java.lang.Integer getNumberOfTrainedDocuments()
The number of documents in the input data that were used to train the entity recognizer. 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 entity recognizer. 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 entity recognizer. 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 entity recognizer. Typically this is 80 to 90 percent of the input documents.
public EntityRecognizerMetadata withNumberOfTrainedDocuments(java.lang.Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the entity recognizer. 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 entity recognizer. 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 entity recognizer. Typically this is 10 to 20 percent of the input documents.
The number of documents in the input data that were used to test the entity recognizer. Typically this is 10 to 20 percent of the input documents.
public void setNumberOfTestDocuments(java.lang.Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the entity recognizer. Typically this is 10 to 20 percent of the input documents.
numberOfTestDocuments
- The number of documents in the input data that were used to test the entity recognizer. Typically this is 10 to 20 percent of the input documents.
public EntityRecognizerMetadata withNumberOfTestDocuments(java.lang.Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the entity recognizer. Typically this is 10 to 20 percent of the input 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 entity recognizer. Typically this is 10 to 20 percent of the input documents.
public EntityRecognizerEvaluationMetrics getEvaluationMetrics()
Detailed information about the accuracy of an entity recognizer.
Detailed information about the accuracy of an entity recognizer.
public void setEvaluationMetrics(EntityRecognizerEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
evaluationMetrics
- Detailed information about the accuracy of an entity recognizer.
public EntityRecognizerMetadata withEvaluationMetrics(EntityRecognizerEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
Returns a reference to this object so that method calls can be chained together.
evaluationMetrics
- Detailed information about the accuracy of an entity recognizer.
public java.util.List<EntityRecognizerMetadataEntityTypesListItem> getEntityTypes()
Entity types from the metadata of an entity recognizer.
Entity types from the metadata of an entity recognizer.
public void setEntityTypes(java.util.Collection<EntityRecognizerMetadataEntityTypesListItem> entityTypes)
Entity types from the metadata of an entity recognizer.
entityTypes
- Entity types from the metadata of an entity recognizer.
public EntityRecognizerMetadata withEntityTypes(EntityRecognizerMetadataEntityTypesListItem... entityTypes)
Entity types from the metadata of an entity recognizer.
Returns a reference to this object so that method calls can be chained together.
entityTypes
- Entity types from the metadata of an entity recognizer.
public EntityRecognizerMetadata withEntityTypes(java.util.Collection<EntityRecognizerMetadataEntityTypesListItem> entityTypes)
Entity types from the metadata of an entity recognizer.
Returns a reference to this object so that method calls can be chained together.
entityTypes
- Entity types from the metadata of an entity recognizer.
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.