Interface CfnEndpointConfig.ClarifyExplainerConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfig.ClarifyExplainerConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfig
@Stability(Stable)
public static interface CfnEndpointConfig.ClarifyExplainerConfigProperty
extends software.amazon.jsii.JsiiSerializable
The configuration parameters for the SageMaker Clarify explainer.
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.*;
ClarifyExplainerConfigProperty clarifyExplainerConfigProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointConfig.ClarifyExplainerConfigPropertystatic final classAn implementation forCfnEndpointConfig.ClarifyExplainerConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getShapConfig
The configuration for SHAP analysis.Returns union: either
IResolvableorCfnEndpointConfig.ClarifyShapConfigProperty- See Also:
-
getEnableExplanations
A JMESPath boolean expression used to filter which records to explain.Explanations are activated by default. See
EnableExplanationsfor additional information.- See Also:
-
getInferenceConfig
The inference configuration parameter for the model container.Returns union: either
IResolvableorCfnEndpointConfig.ClarifyInferenceConfigProperty- See Also:
-
builder
-