Show / Hide Table of Contents

Class CfnEndpointConfigPropsMixin.ClarifyTextConfigProperty

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.

Inheritance
object
CfnEndpointConfigPropsMixin.ClarifyTextConfigProperty
Implements
CfnEndpointConfigPropsMixin.IClarifyTextConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnEndpointConfigPropsMixin.ClarifyTextConfigProperty : CfnEndpointConfigPropsMixin.IClarifyTextConfigProperty
Syntax (vb)
Public Class CfnEndpointConfigPropsMixin.ClarifyTextConfigProperty Implements CfnEndpointConfigPropsMixin.IClarifyTextConfigProperty
Remarks

Required only for natural language processing (NLP) explainability.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifytextconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins;

             var clarifyTextConfigProperty = new ClarifyTextConfigProperty {
                 Granularity = "granularity",
                 Language = "language"
             };

Synopsis

Constructors

ClarifyTextConfigProperty()

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.

Properties

Granularity

The unit of granularity for the analysis of text features.

Language

Specifies the language of the text features in [ISO 639-1](https://docs.aws.amazon.com/ https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) or ISO 639-3 code of a supported language.

Constructors

ClarifyTextConfigProperty()

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.

public ClarifyTextConfigProperty()
Remarks

Required only for natural language processing (NLP) explainability.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifytextconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins;

             var clarifyTextConfigProperty = new ClarifyTextConfigProperty {
                 Granularity = "granularity",
                 Language = "language"
             };

Properties

Granularity

The unit of granularity for the analysis of text features.

public string? Granularity { get; set; }
Property Value

string

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifytextconfig.html#cfn-sagemaker-endpointconfig-clarifytextconfig-granularity

Language

Specifies the language of the text features in [ISO 639-1](https://docs.aws.amazon.com/ https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) or ISO 639-3 code of a supported language.

public string? Language { get; set; }
Property Value

string

Remarks
For a mix of multiple languages, use code <code>'xx'</code> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifytextconfig.html#cfn-sagemaker-endpointconfig-clarifytextconfig-language

Implements

CfnEndpointConfigPropsMixin.IClarifyTextConfigProperty
Back to top Generated by DocFX