Interface ClassifierMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClassifierMetadata.Builder,ClassifierMetadata>,SdkBuilder<ClassifierMetadata.Builder,ClassifierMetadata>,SdkPojo
- Enclosing class:
- ClassifierMetadata
public static interface ClassifierMetadata.Builder extends SdkPojo, CopyableBuilder<ClassifierMetadata.Builder,ClassifierMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ClassifierMetadata.BuilderevaluationMetrics(Consumer<ClassifierEvaluationMetrics.Builder> evaluationMetrics)Describes the result metrics for the test data associated with an documentation classifier.ClassifierMetadata.BuilderevaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)Describes the result metrics for the test data associated with an documentation classifier.ClassifierMetadata.BuildernumberOfLabels(Integer numberOfLabels)The number of labels in the input data.ClassifierMetadata.BuildernumberOfTestDocuments(Integer numberOfTestDocuments)The number of documents in the input data that were used to test the classifier.ClassifierMetadata.BuildernumberOfTrainedDocuments(Integer numberOfTrainedDocuments)The number of documents in the input data that were used to train the classifier.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
numberOfLabels
ClassifierMetadata.Builder numberOfLabels(Integer numberOfLabels)
The number of labels in the input data.
- Parameters:
numberOfLabels- The number of labels in the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfTrainedDocuments
ClassifierMetadata.Builder numberOfTrainedDocuments(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfTestDocuments
ClassifierMetadata.Builder numberOfTestDocuments(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationMetrics
ClassifierMetadata.Builder evaluationMetrics(ClassifierEvaluationMetrics evaluationMetrics)
Describes the result metrics for the test data associated with an documentation classifier.
- Parameters:
evaluationMetrics- Describes the result metrics for the test data associated with an documentation classifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationMetrics
default ClassifierMetadata.Builder evaluationMetrics(Consumer<ClassifierEvaluationMetrics.Builder> evaluationMetrics)
Describes the result metrics for the test data associated with an documentation classifier.
This is a convenience method that creates an instance of theClassifierEvaluationMetrics.Builderavoiding the need to create one manually viaClassifierEvaluationMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationMetrics(ClassifierEvaluationMetrics).- Parameters:
evaluationMetrics- a consumer that will call methods onClassifierEvaluationMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
evaluationMetrics(ClassifierEvaluationMetrics)
-
-