interface DocumentClassificationConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Comprehend.CfnFlywheelPropsMixin.DocumentClassificationConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscomprehend#CfnFlywheelPropsMixin_DocumentClassificationConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnFlywheelPropsMixin.DocumentClassificationConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_comprehend.CfnFlywheelPropsMixin.DocumentClassificationConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_comprehend » CfnFlywheelPropsMixin » DocumentClassificationConfigProperty |
Configuration required for a document classification model.
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/cfn-property-mixins';
const documentClassificationConfigProperty: comprehend.CfnFlywheelPropsMixin.DocumentClassificationConfigProperty = {
labels: ['labels'],
mode: 'mode',
};
Properties
| Name | Type | Description |
|---|---|---|
| labels? | string[] | One or more labels to associate with the custom classifier. |
| mode? | string | Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL . |
labels?
Type:
string[]
(optional)
One or more labels to associate with the custom classifier.
mode?
Type:
string
(optional)
Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL .

.NET
Go
Java
Python
TypeScript