#[non_exhaustive]pub struct ClarifyExplainerConfigBuilder { /* private fields */ }
Expand description
A builder for ClarifyExplainerConfig
.
Implementations§
source§impl ClarifyExplainerConfigBuilder
impl ClarifyExplainerConfigBuilder
sourcepub fn enable_explanations(self, input: impl Into<String>) -> Self
pub fn enable_explanations(self, input: impl Into<String>) -> Self
A JMESPath boolean expression used to filter which records to explain. Explanations are activated by default. See EnableExplanations
for additional information.
sourcepub fn set_enable_explanations(self, input: Option<String>) -> Self
pub fn set_enable_explanations(self, input: Option<String>) -> Self
A JMESPath boolean expression used to filter which records to explain. Explanations are activated by default. See EnableExplanations
for additional information.
sourcepub fn get_enable_explanations(&self) -> &Option<String>
pub fn get_enable_explanations(&self) -> &Option<String>
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, input: ClarifyInferenceConfig) -> Self
pub fn inference_config(self, input: ClarifyInferenceConfig) -> Self
The inference configuration parameter for the model container.
sourcepub fn set_inference_config(self, input: Option<ClarifyInferenceConfig>) -> Self
pub fn set_inference_config(self, input: Option<ClarifyInferenceConfig>) -> Self
The inference configuration parameter for the model container.
sourcepub fn get_inference_config(&self) -> &Option<ClarifyInferenceConfig>
pub fn get_inference_config(&self) -> &Option<ClarifyInferenceConfig>
The inference configuration parameter for the model container.
sourcepub fn shap_config(self, input: ClarifyShapConfig) -> Self
pub fn shap_config(self, input: ClarifyShapConfig) -> Self
The configuration for SHAP analysis.
This field is required.sourcepub fn set_shap_config(self, input: Option<ClarifyShapConfig>) -> Self
pub fn set_shap_config(self, input: Option<ClarifyShapConfig>) -> Self
The configuration for SHAP analysis.
sourcepub fn get_shap_config(&self) -> &Option<ClarifyShapConfig>
pub fn get_shap_config(&self) -> &Option<ClarifyShapConfig>
The configuration for SHAP analysis.
sourcepub fn build(self) -> ClarifyExplainerConfig
pub fn build(self) -> ClarifyExplainerConfig
Consumes the builder and constructs a ClarifyExplainerConfig
.
Trait Implementations§
source§impl Clone for ClarifyExplainerConfigBuilder
impl Clone for ClarifyExplainerConfigBuilder
source§fn clone(&self) -> ClarifyExplainerConfigBuilder
fn clone(&self) -> ClarifyExplainerConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ClarifyExplainerConfigBuilder
impl Default for ClarifyExplainerConfigBuilder
source§fn default() -> ClarifyExplainerConfigBuilder
fn default() -> ClarifyExplainerConfigBuilder
source§impl PartialEq for ClarifyExplainerConfigBuilder
impl PartialEq for ClarifyExplainerConfigBuilder
source§fn eq(&self, other: &ClarifyExplainerConfigBuilder) -> bool
fn eq(&self, other: &ClarifyExplainerConfigBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ClarifyExplainerConfigBuilder
Auto Trait Implementations§
impl Freeze for ClarifyExplainerConfigBuilder
impl RefUnwindSafe for ClarifyExplainerConfigBuilder
impl Send for ClarifyExplainerConfigBuilder
impl Sync for ClarifyExplainerConfigBuilder
impl Unpin for ClarifyExplainerConfigBuilder
impl UnwindSafe for ClarifyExplainerConfigBuilder
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
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)
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>
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>
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 more