Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::Comprehend::Types::DocumentClassificationConfig

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#labelsArray<String>

One or more labels to associate with the custom classifier.

Returns:

  • (Array<String>)

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

#modeString

Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.

Returns:

  • (String)

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