You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Comprehend::Types::ClassifyDocumentResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::ClassifyDocumentResponse
- Defined in:
- (unknown)
Overview
Returned by:
Instance Attribute Summary collapse
-
#classes ⇒ Array<Types::DocumentClass>
The classes used by the document being analyzed.
-
#labels ⇒ Array<Types::DocumentLabel>
The labels used the document being analyzed.
Instance Attribute Details
#classes ⇒ Array<Types::DocumentClass>
The classes used by the document being analyzed. These are used for multi-class trained models. Individual classes are mutually exclusive and each document is expected to have only a single class assigned to it. For example, an animal can be a dog or a cat, but not both at the same time.
#labels ⇒ Array<Types::DocumentLabel>
The labels used the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not multually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time.