Struct aws_sdk_sagemaker::model::ClarifyShapConfig
source · [−]#[non_exhaustive]pub struct ClarifyShapConfig { /* private fields */ }Expand description
The configuration for SHAP analysis using SageMaker Clarify Explainer.
Implementations
sourceimpl ClarifyShapConfig
impl ClarifyShapConfig
sourcepub fn shap_baseline_config(&self) -> Option<&ClarifyShapBaselineConfig>
pub fn shap_baseline_config(&self) -> Option<&ClarifyShapBaselineConfig>
The configuration for the SHAP baseline of the Kernal SHAP algorithm.
sourcepub fn number_of_samples(&self) -> Option<i32>
pub fn number_of_samples(&self) -> Option<i32>
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.
sourcepub fn use_logit(&self) -> Option<bool>
pub fn use_logit(&self) -> Option<bool>
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.
sourcepub fn seed(&self) -> Option<i32>
pub fn seed(&self) -> Option<i32>
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.
sourcepub fn text_config(&self) -> Option<&ClarifyTextConfig>
pub fn text_config(&self) -> Option<&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.
sourceimpl ClarifyShapConfig
impl ClarifyShapConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClarifyShapConfig.
Trait Implementations
sourceimpl Clone for ClarifyShapConfig
impl Clone for ClarifyShapConfig
sourcefn clone(&self) -> ClarifyShapConfig
fn clone(&self) -> ClarifyShapConfig
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more