Class: Aws::SageMaker::Types::ClarifyShapConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::ClarifyShapConfig
- Defined in:
- gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb
Overview
The configuration for SHAP analysis using SageMaker Clarify Explainer.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#number_of_samples ⇒ Integer
The number of samples to be used for analysis by the Kernal SHAP algorithm.
-
#seed ⇒ Integer
The starting value used to initialize the random number generator in the explainer.
-
#shap_baseline_config ⇒ Types::ClarifyShapBaselineConfig
The configuration for the SHAP baseline of the Kernal SHAP algorithm.
-
#text_config ⇒ Types::ClarifyTextConfig
A parameter that indicates if text features are treated as text and explanations are provided for individual units of text.
-
#use_logit ⇒ Boolean
A Boolean toggle to indicate if you want to use the logit function (true) or log-odds units (false) for model predictions.
Instance Attribute Details
#number_of_samples ⇒ Integer
The number of samples to be used for analysis by the Kernal SHAP algorithm.
3893 3894 3895 3896 3897 3898 3899 3900 3901 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 3893 class ClarifyShapConfig < Struct.new( :shap_baseline_config, :number_of_samples, :use_logit, :seed, :text_config) SENSITIVE = [] include Aws::Structure end |
#seed ⇒ Integer
The starting value used to initialize the random number generator in the explainer. Provide a value for this parameter to obtain a deterministic SHAP result.
3893 3894 3895 3896 3897 3898 3899 3900 3901 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 3893 class ClarifyShapConfig < Struct.new( :shap_baseline_config, :number_of_samples, :use_logit, :seed, :text_config) SENSITIVE = [] include Aws::Structure end |
#shap_baseline_config ⇒ Types::ClarifyShapBaselineConfig
The configuration for the SHAP baseline of the Kernal SHAP algorithm.
3893 3894 3895 3896 3897 3898 3899 3900 3901 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 3893 class ClarifyShapConfig < Struct.new( :shap_baseline_config, :number_of_samples, :use_logit, :seed, :text_config) SENSITIVE = [] include Aws::Structure end |
#text_config ⇒ Types::ClarifyTextConfig
A parameter that indicates if text features are treated as text and explanations are provided for individual units of text. Required for natural language processing (NLP) explainability only.
3893 3894 3895 3896 3897 3898 3899 3900 3901 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 3893 class ClarifyShapConfig < Struct.new( :shap_baseline_config, :number_of_samples, :use_logit, :seed, :text_config) SENSITIVE = [] include Aws::Structure end |
#use_logit ⇒ Boolean
A Boolean toggle to indicate if you want to use the logit function (true) or log-odds units (false) for model predictions. Defaults to false.
3893 3894 3895 3896 3897 3898 3899 3900 3901 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 3893 class ClarifyShapConfig < Struct.new( :shap_baseline_config, :number_of_samples, :use_logit, :seed, :text_config) SENSITIVE = [] include Aws::Structure end |