aws-cdk-lib.aws_comprehend.CfnDocumentClassifier.AugmentedManifestsListItemProperty

interface AugmentedManifestsListItemProperty

LanguageType name
.NETAmazon.CDK.AWS.Comprehend.CfnDocumentClassifier.AugmentedManifestsListItemProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscomprehend#CfnDocumentClassifier_AugmentedManifestsListItemProperty
Javasoftware.amazon.awscdk.services.comprehend.CfnDocumentClassifier.AugmentedManifestsListItemProperty
Pythonaws_cdk.aws_comprehend.CfnDocumentClassifier.AugmentedManifestsListItemProperty
TypeScript aws-cdk-lib » aws_comprehend » CfnDocumentClassifier » AugmentedManifestsListItemProperty

An augmented manifest file that provides training data for your custom model.

An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_comprehend as comprehend } from 'aws-cdk-lib';
const augmentedManifestsListItemProperty: comprehend.CfnDocumentClassifier.AugmentedManifestsListItemProperty = {
  attributeNames: ['attributeNames'],
  s3Uri: 's3Uri',

  // the properties below are optional
  split: 'split',
};

Properties

NameTypeDescription
attributeNamesstring[]The JSON attribute that contains the annotations for your training documents.
s3UristringThe Amazon S3 location of the augmented manifest file.
split?stringThe purpose of the data you've provided in the augmented manifest.

attributeNames

Type: string[]

The JSON attribute that contains the annotations for your training documents.

The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.


s3Uri

Type: string

The Amazon S3 location of the augmented manifest file.


split?

Type: string (optional)

The purpose of the data you've provided in the augmented manifest.

You can either train or test this data. If you don't specify, the default is train.

TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.

TEST - all of the documents in the manifest will be used for testing.