aws-cdk-lib.aws_sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty

interface ClarifyExplainerConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnEndpointConfig_ClarifyExplainerConfigProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty
Pythonaws_cdk.aws_sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty
TypeScript aws-cdk-lib » aws_sagemaker » CfnEndpointConfig » ClarifyExplainerConfigProperty

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const clarifyExplainerConfigProperty: sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty = {
  shapConfig: {
    shapBaselineConfig: {
      mimeType: 'mimeType',
      shapBaseline: 'shapBaseline',
      shapBaselineUri: 'shapBaselineUri',
    },

    // the properties below are optional
    numberOfSamples: 123,
    seed: 123,
    textConfig: {
      granularity: 'granularity',
      language: 'language',
    },
    useLogit: false,
  },

  // the properties below are optional
  enableExplanations: 'enableExplanations',
  inferenceConfig: {
    contentTemplate: 'contentTemplate',
    featureHeaders: ['featureHeaders'],
    featuresAttribute: 'featuresAttribute',
    featureTypes: ['featureTypes'],
    labelAttribute: 'labelAttribute',
    labelHeaders: ['labelHeaders'],
    labelIndex: 123,
    maxPayloadInMb: 123,
    maxRecordCount: 123,
    probabilityAttribute: 'probabilityAttribute',
    probabilityIndex: 123,
  },
};

Properties

NameTypeDescription
shapConfigIResolvable | ClarifyShapConfigPropertyCfnEndpointConfig.ClarifyExplainerConfigProperty.ShapConfig.
enableExplanations?stringCfnEndpointConfig.ClarifyExplainerConfigProperty.EnableExplanations.
inferenceConfig?IResolvable | ClarifyInferenceConfigPropertyCfnEndpointConfig.ClarifyExplainerConfigProperty.InferenceConfig.

shapConfig

Type: IResolvable | ClarifyShapConfigProperty

CfnEndpointConfig.ClarifyExplainerConfigProperty.ShapConfig.


enableExplanations?

Type: string (optional)

CfnEndpointConfig.ClarifyExplainerConfigProperty.EnableExplanations.


inferenceConfig?

Type: IResolvable | ClarifyInferenceConfigProperty (optional)

CfnEndpointConfig.ClarifyExplainerConfigProperty.InferenceConfig.