public static interface EntityRecognizerMetadata.Builder extends SdkPojo, CopyableBuilder<EntityRecognizerMetadata.Builder,EntityRecognizerMetadata>
Modifier and Type | Method and Description |
---|---|
EntityRecognizerMetadata.Builder |
entityTypes(Collection<EntityRecognizerMetadataEntityTypesListItem> entityTypes)
Entity types from the metadata of an entity recognizer.
|
EntityRecognizerMetadata.Builder |
entityTypes(Consumer<EntityRecognizerMetadataEntityTypesListItem.Builder>... entityTypes)
Entity types from the metadata of an entity recognizer.
|
EntityRecognizerMetadata.Builder |
entityTypes(EntityRecognizerMetadataEntityTypesListItem... entityTypes)
Entity types from the metadata of an entity recognizer.
|
default EntityRecognizerMetadata.Builder |
evaluationMetrics(Consumer<EntityRecognizerEvaluationMetrics.Builder> evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
|
EntityRecognizerMetadata.Builder |
evaluationMetrics(EntityRecognizerEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
|
EntityRecognizerMetadata.Builder |
numberOfTestDocuments(Integer numberOfTestDocuments)
The number of documents in the input data that were used to test the entity recognizer.
|
EntityRecognizerMetadata.Builder |
numberOfTrainedDocuments(Integer numberOfTrainedDocuments)
The number of documents in the input data that were used to train the entity recognizer.
|
copy
applyMutation, build
EntityRecognizerMetadata.Builder numberOfTrainedDocuments(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.EntityRecognizerMetadata.Builder numberOfTestDocuments(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.EntityRecognizerMetadata.Builder evaluationMetrics(EntityRecognizerEvaluationMetrics evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
evaluationMetrics
- Detailed information about the accuracy of an entity recognizer.default EntityRecognizerMetadata.Builder evaluationMetrics(Consumer<EntityRecognizerEvaluationMetrics.Builder> evaluationMetrics)
Detailed information about the accuracy of an entity recognizer.
This is a convenience that creates an instance of theEntityRecognizerEvaluationMetrics.Builder
avoiding the need to create one manually via EntityRecognizerEvaluationMetrics.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to evaluationMetrics(EntityRecognizerEvaluationMetrics)
.evaluationMetrics
- a consumer that will call methods on EntityRecognizerEvaluationMetrics.Builder
evaluationMetrics(EntityRecognizerEvaluationMetrics)
EntityRecognizerMetadata.Builder entityTypes(Collection<EntityRecognizerMetadataEntityTypesListItem> entityTypes)
Entity types from the metadata of an entity recognizer.
entityTypes
- Entity types from the metadata of an entity recognizer.EntityRecognizerMetadata.Builder entityTypes(EntityRecognizerMetadataEntityTypesListItem... entityTypes)
Entity types from the metadata of an entity recognizer.
entityTypes
- Entity types from the metadata of an entity recognizer.EntityRecognizerMetadata.Builder entityTypes(Consumer<EntityRecognizerMetadataEntityTypesListItem.Builder>... entityTypes)
Entity types from the metadata of an entity recognizer.
This is a convenience that creates an instance of the.Builder
avoiding the need to create one manually via
List#builder()
.
When the Consumer
completes, .Builder#build()
is called immediately and its result is passed
to #entityTypes(List)
.entityTypes
- a consumer that will call methods on List.Builder
#entityTypes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.