ClarifyTextConfig

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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.

Functions

Link copied to clipboard
inline fun copy(block: ClarifyTextConfig.Builder.() -> Unit = {}): ClarifyTextConfig
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String