Class CfnDocumentClassifier.AugmentedManifestsListItemProperty
An augmented manifest file that provides training data for your custom model.
Inheritance
Namespace: Amazon.CDK.AWS.Comprehend
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AugmentedManifestsListItemProperty : Object, CfnDocumentClassifier.IAugmentedManifestsListItemProperty
Syntax (vb)
Public Class AugmentedManifestsListItemProperty
Inherits Object
Implements CfnDocumentClassifier.IAugmentedManifestsListItemProperty
Remarks
An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Comprehend;
var augmentedManifestsListItemProperty = new AugmentedManifestsListItemProperty {
AttributeNames = new [] { "attributeNames" },
S3Uri = "s3Uri",
// the properties below are optional
Split = "split"
};
Synopsis
Constructors
AugmentedManifestsListItemProperty() |
Properties
AttributeNames | The JSON attribute that contains the annotations for your training documents. |
S3Uri | The Amazon S3 location of the augmented manifest file. |
Split | The purpose of the data you've provided in the augmented manifest. |
Constructors
AugmentedManifestsListItemProperty()
public AugmentedManifestsListItemProperty()
Properties
AttributeNames
The JSON attribute that contains the annotations for your training documents.
public string[] AttributeNames { get; set; }
Property Value
System.String[]
Remarks
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
The Amazon S3 location of the augmented manifest file.
public string S3Uri { get; set; }
Property Value
System.String
Remarks
Split
The purpose of the data you've provided in the augmented manifest.
public string Split { get; set; }
Property Value
System.String
Remarks
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.