Class: Aws::SageMaker::Types::ClarifyTextConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::ClarifyTextConfig
- Defined in:
- gems/aws-sdk-sagemaker/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 or [ISO 639-3][1] 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.
3437 3438 3439 3440 3441 3442 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 3437 class ClarifyTextConfig < Struct.new( :language, :granularity) SENSITIVE = [] include Aws::Structure end |
#language ⇒ String
3437 3438 3439 3440 3441 3442 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 3437 class ClarifyTextConfig < Struct.new( :language, :granularity) SENSITIVE = [] include Aws::Structure end |