DocumentClassificationConfigProperty Struct
Configuration required for a document classification model.
Example
ts
// 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 documentClassificationConfigProperty: comprehend.CfnFlywheel.DocumentClassificationConfigProperty = {
mode: 'mode',
// the properties below are optional
labels: ['labels'],
};
Properties
labelsoptionalstring[]labelsoptionaltyping.List[str]labelsoptionalList<String>Labelsoptionalstring[]Labelsoptional*[]*string#One or more labels to associate with the custom classifier.
Classification mode indicates whether the documents are `MULTI_CLASS` or `MULTI_LABEL` .