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