Class: Aws::SageMaker::Types::ClarifyTextConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::ClarifyTextConfig
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
A parameter used to configure the SageMaker Clarify explainer to treat text features as text so that explanations are provided for individual units of text. Required only for natural language processing (NLP) explainability.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#granularity ⇒ String
The unit of granularity for the analysis of text features.
-
#language ⇒ String
Specifies the language of the text features in [ISO 639-1]( en.wikipedia.org/wiki/List_of_ISO_639-1_codes) or [ISO 639-3] code of a supported language.
Instance Attribute Details
#granularity ⇒ String
The unit of granularity for the analysis of text features. For example, if the unit is ‘’token’‘, then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.
4080 4081 4082 4083 4084 4085 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 4080 class ClarifyTextConfig < Struct.new( :language, :granularity) SENSITIVE = [] include Aws::Structure end |
#language ⇒ String
Specifies the language of the text features in [ISO 639-1]( en.wikipedia.org/wiki/List_of_ISO_639-1_codes) or [ISO 639-3] code of a supported language.
<note markdown=“1”> For a mix of multiple languages, use code ‘’xx’‘.
</note>
4080 4081 4082 4083 4084 4085 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 4080 class ClarifyTextConfig < Struct.new( :language, :granularity) SENSITIVE = [] include Aws::Structure end |