Struct aws_sdk_sagemaker::model::ClarifyTextConfig
source · [−]#[non_exhaustive]pub struct ClarifyTextConfig { /* private fields */ }Expand description
A parameter used to configure the SageMaker Clarify explainer to treat text features as text so that explanations are provided for individual units of text. Required only for natural language processing (NLP) explainability.
Implementations
sourceimpl ClarifyTextConfig
impl ClarifyTextConfig
sourcepub fn language(&self) -> Option<&ClarifyTextLanguage>
pub fn language(&self) -> Option<&ClarifyTextLanguage>
sourcepub fn granularity(&self) -> Option<&ClarifyTextGranularity>
pub fn granularity(&self) -> Option<&ClarifyTextGranularity>
The unit of granularity for the analysis of text features. For example, if the unit is 'token', then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.
sourceimpl ClarifyTextConfig
impl ClarifyTextConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClarifyTextConfig.
Trait Implementations
sourceimpl Clone for ClarifyTextConfig
impl Clone for ClarifyTextConfig
sourcefn clone(&self) -> ClarifyTextConfig
fn clone(&self) -> ClarifyTextConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ClarifyTextConfig
impl Debug for ClarifyTextConfig
sourceimpl PartialEq<ClarifyTextConfig> for ClarifyTextConfig
impl PartialEq<ClarifyTextConfig> for ClarifyTextConfig
sourcefn eq(&self, other: &ClarifyTextConfig) -> bool
fn eq(&self, other: &ClarifyTextConfig) -> bool
impl StructuralPartialEq for ClarifyTextConfig
Auto Trait Implementations
impl RefUnwindSafe for ClarifyTextConfig
impl Send for ClarifyTextConfig
impl Sync for ClarifyTextConfig
impl Unpin for ClarifyTextConfig
impl UnwindSafe for ClarifyTextConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more