Interface CfnEndpointConfig.ExplainerConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfig.ExplainerConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfig
@Stability(Stable)
public static interface CfnEndpointConfig.ExplainerConfigProperty
extends software.amazon.jsii.JsiiSerializable
A parameter to activate explainers.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; ExplainerConfigProperty explainerConfigProperty = ExplainerConfigProperty.builder() .clarifyExplainerConfig(ClarifyExplainerConfigProperty.builder() .shapConfig(ClarifyShapConfigProperty.builder() .shapBaselineConfig(ClarifyShapBaselineConfigProperty.builder() .mimeType("mimeType") .shapBaseline("shapBaseline") .shapBaselineUri("shapBaselineUri") .build()) // the properties below are optional .numberOfSamples(123) .seed(123) .textConfig(ClarifyTextConfigProperty.builder() .granularity("granularity") .language("language") .build()) .useLogit(false) .build()) // the properties below are optional .enableExplanations("enableExplanations") .inferenceConfig(ClarifyInferenceConfigProperty.builder() .contentTemplate("contentTemplate") .featureHeaders(List.of("featureHeaders")) .featuresAttribute("featuresAttribute") .featureTypes(List.of("featureTypes")) .labelAttribute("labelAttribute") .labelHeaders(List.of("labelHeaders")) .labelIndex(123) .maxPayloadInMb(123) .maxRecordCount(123) .probabilityAttribute("probabilityAttribute") .probabilityIndex(123) .build()) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEndpointConfig.ExplainerConfigProperty
static final class
An implementation forCfnEndpointConfig.ExplainerConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClarifyExplainerConfig
A member ofExplainerConfig
that contains configuration parameters for the SageMaker Clarify explainer.- See Also:
-
builder
-