interface ClarifyExplainerConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnEndpointConfig.ClarifyExplainerConfigProperty |
TypeScript | @aws-cdk/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 * as sagemaker from '@aws-cdk/aws-sagemaker';
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
Name | Type | Description |
---|---|---|
shap | IResolvable | Clarify | CfnEndpointConfig.ClarifyExplainerConfigProperty.ShapConfig . |
enable | string | CfnEndpointConfig.ClarifyExplainerConfigProperty.EnableExplanations . |
inference | IResolvable | Clarify | CfnEndpointConfig.ClarifyExplainerConfigProperty.InferenceConfig . |
shapConfig
Type:
IResolvable
|
Clarify
CfnEndpointConfig.ClarifyExplainerConfigProperty.ShapConfig
.
enableExplanations?
Type:
string
(optional)
CfnEndpointConfig.ClarifyExplainerConfigProperty.EnableExplanations
.
inferenceConfig?
Type:
IResolvable
|
Clarify
(optional)
CfnEndpointConfig.ClarifyExplainerConfigProperty.InferenceConfig
.