@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityRecognizerMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about an entity recognizer.
Constructor and Description |
---|
EntityRecognizerMetadata() |
Modifier and Type | Method and Description |
---|---|
EntityRecognizerMetadata |
clone() |
boolean |
equals(Object obj) |
List<EntityRecognizerMetadataEntityTypesListItem> |
getEntityTypes()
Entity types from the metadata of an entity recognizer.
|
EntityRecognizerEvaluationMetrics |
getEvaluationMetrics()
Detailed information about the accuracy of an entity recognizer.
|
Integer |
getNumberOfTestDocuments()
The number of documents in the input data that were used to test the entity recognizer.
|
Integer |
getNumberOfTrainedDocuments()
The number of documents in the input data that were used to train the entity recognizer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntityTypes(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(Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the entity recognizer.
|
void |
setNumberOfTrainedDocuments(Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the entity recognizer.
|
String |
toString()
Returns a string representation of this object.
|
EntityRecognizerMetadata |
withEntityTypes(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(Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the entity recognizer.
|
EntityRecognizerMetadata |
withNumberOfTrainedDocuments(Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the entity recognizer.
|
public void setNumberOfTrainedDocuments(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 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.
public EntityRecognizerMetadata withNumberOfTrainedDocuments(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 void setNumberOfTestDocuments(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 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.
public EntityRecognizerMetadata withNumberOfTestDocuments(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 void setEvaluationMetrics(EntityRecognizerEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
evaluationMetrics
- Detailed information about the accuracy of an entity recognizer.public EntityRecognizerEvaluationMetrics getEvaluationMetrics()
Detailed information about the accuracy of an entity recognizer.
public EntityRecognizerMetadata withEvaluationMetrics(EntityRecognizerEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
evaluationMetrics
- Detailed information about the accuracy of an entity recognizer.public List<EntityRecognizerMetadataEntityTypesListItem> getEntityTypes()
Entity types from the metadata of an entity recognizer.
public void setEntityTypes(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.
NOTE: This method appends the values to the existing list (if any). Use
setEntityTypes(java.util.Collection)
or withEntityTypes(java.util.Collection)
if you want to
override the existing values.
entityTypes
- Entity types from the metadata of an entity recognizer.public EntityRecognizerMetadata withEntityTypes(Collection<EntityRecognizerMetadataEntityTypesListItem> entityTypes)
Entity types from the metadata of an entity recognizer.
entityTypes
- Entity types from the metadata of an entity recognizer.public String toString()
toString
in class Object
Object.toString()
public EntityRecognizerMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.