Class: Aws::SageMaker::Types::ClarifyShapConfig

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#number_of_samplesInteger

The number of samples to be used for analysis by the Kernal SHAP algorithm.

The number of samples determines the size of the synthetic dataset, which has an impact on latency of explainability requests. For more information, see the Synthetic data of Configure and create an endpoint.

Returns:

  • (Integer)


4042
4043
4044
4045
4046
4047
4048
4049
4050
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 4042

class ClarifyShapConfig < Struct.new(
  :shap_baseline_config,
  :number_of_samples,
  :use_logit,
  :seed,
  :text_config)
  SENSITIVE = []
  include Aws::Structure
end

#seedInteger

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.

Returns:

  • (Integer)


4042
4043
4044
4045
4046
4047
4048
4049
4050
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 4042

class ClarifyShapConfig < Struct.new(
  :shap_baseline_config,
  :number_of_samples,
  :use_logit,
  :seed,
  :text_config)
  SENSITIVE = []
  include Aws::Structure
end

#shap_baseline_configTypes::ClarifyShapBaselineConfig

The configuration for the SHAP baseline of the Kernal SHAP algorithm.



4042
4043
4044
4045
4046
4047
4048
4049
4050
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 4042

class ClarifyShapConfig < Struct.new(
  :shap_baseline_config,
  :number_of_samples,
  :use_logit,
  :seed,
  :text_config)
  SENSITIVE = []
  include Aws::Structure
end

#text_configTypes::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.



4042
4043
4044
4045
4046
4047
4048
4049
4050
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 4042

class ClarifyShapConfig < Struct.new(
  :shap_baseline_config,
  :number_of_samples,
  :use_logit,
  :seed,
  :text_config)
  SENSITIVE = []
  include Aws::Structure
end

#use_logitBoolean

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.

Returns:

  • (Boolean)


4042
4043
4044
4045
4046
4047
4048
4049
4050
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 4042

class ClarifyShapConfig < Struct.new(
  :shap_baseline_config,
  :number_of_samples,
  :use_logit,
  :seed,
  :text_config)
  SENSITIVE = []
  include Aws::Structure
end