Class: Aws::Comprehend::Types::DocumentClassificationConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::DocumentClassificationConfig
- Defined in:
- gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb
Overview
Configuration required for a document classification model.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#labels ⇒ Array<String>
One or more labels to associate with the custom classifier.
-
#mode ⇒ String
Classification mode indicates whether the documents are
MULTI_CLASS
orMULTI_LABEL
.
Instance Attribute Details
#labels ⇒ Array<String>
One or more labels to associate with the custom classifier.
2748 2749 2750 2751 2752 2753 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2748 class DocumentClassificationConfig < Struct.new( :mode, :labels) SENSITIVE = [] include Aws::Structure end |
#mode ⇒ String
Classification mode indicates whether the documents are
MULTI_CLASS
or MULTI_LABEL
.
2748 2749 2750 2751 2752 2753 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2748 class DocumentClassificationConfig < Struct.new( :mode, :labels) SENSITIVE = [] include Aws::Structure end |