ClarifyTextConfig
import type { ClarifyTextConfig } from "https://aws-api.deno.dev/v0.4/services/sagemaker.ts?docs=full";
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.
§Properties
§
Granularity: ClarifyTextGranularity
[src]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.
§
Language: ClarifyTextLanguage
[src]