Struct aws_sdk_sagemaker::types::ClarifyExplainerConfig
source · #[non_exhaustive]pub struct ClarifyExplainerConfig {
pub enable_explanations: Option<String>,
pub inference_config: Option<ClarifyInferenceConfig>,
pub shap_config: Option<ClarifyShapConfig>,
}
Expand description
The configuration parameters for the SageMaker Clarify explainer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enable_explanations: Option<String>
A JMESPath boolean expression used to filter which records to explain. Explanations are activated by default. See EnableExplanations
for additional information.
inference_config: Option<ClarifyInferenceConfig>
The inference configuration parameter for the model container.
shap_config: Option<ClarifyShapConfig>
The configuration for SHAP analysis.
Implementations§
source§impl ClarifyExplainerConfig
impl ClarifyExplainerConfig
sourcepub fn enable_explanations(&self) -> Option<&str>
pub fn enable_explanations(&self) -> Option<&str>
A JMESPath boolean expression used to filter which records to explain. Explanations are activated by default. See EnableExplanations
for additional information.
sourcepub fn inference_config(&self) -> Option<&ClarifyInferenceConfig>
pub fn inference_config(&self) -> Option<&ClarifyInferenceConfig>
The inference configuration parameter for the model container.
sourcepub fn shap_config(&self) -> Option<&ClarifyShapConfig>
pub fn shap_config(&self) -> Option<&ClarifyShapConfig>
The configuration for SHAP analysis.
source§impl ClarifyExplainerConfig
impl ClarifyExplainerConfig
sourcepub fn builder() -> ClarifyExplainerConfigBuilder
pub fn builder() -> ClarifyExplainerConfigBuilder
Creates a new builder-style object to manufacture ClarifyExplainerConfig
.
Trait Implementations§
source§impl Clone for ClarifyExplainerConfig
impl Clone for ClarifyExplainerConfig
source§fn clone(&self) -> ClarifyExplainerConfig
fn clone(&self) -> ClarifyExplainerConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClarifyExplainerConfig
impl Debug for ClarifyExplainerConfig
source§impl PartialEq for ClarifyExplainerConfig
impl PartialEq for ClarifyExplainerConfig
impl StructuralPartialEq for ClarifyExplainerConfig
Auto Trait Implementations§
impl Freeze for ClarifyExplainerConfig
impl RefUnwindSafe for ClarifyExplainerConfig
impl Send for ClarifyExplainerConfig
impl Sync for ClarifyExplainerConfig
impl Unpin for ClarifyExplainerConfig
impl UnwindSafe for ClarifyExplainerConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.