#[non_exhaustive]pub struct AggregatedVariablesImpactExplanationBuilder { /* private fields */ }
Expand description
A builder for AggregatedVariablesImpactExplanation
.
Implementations§
source§impl AggregatedVariablesImpactExplanationBuilder
impl AggregatedVariablesImpactExplanationBuilder
sourcepub fn event_variable_names(self, input: impl Into<String>) -> Self
pub fn event_variable_names(self, input: impl Into<String>) -> Self
Appends an item to event_variable_names
.
To override the contents of this collection use set_event_variable_names
.
The names of all the event variables that were used to derive the aggregated variables.
sourcepub fn set_event_variable_names(self, input: Option<Vec<String>>) -> Self
pub fn set_event_variable_names(self, input: Option<Vec<String>>) -> Self
The names of all the event variables that were used to derive the aggregated variables.
sourcepub fn get_event_variable_names(&self) -> &Option<Vec<String>>
pub fn get_event_variable_names(&self) -> &Option<Vec<String>>
The names of all the event variables that were used to derive the aggregated variables.
sourcepub fn relative_impact(self, input: impl Into<String>) -> Self
pub fn relative_impact(self, input: impl Into<String>) -> Self
The relative impact of the aggregated variables in terms of magnitude on the prediction scores.
sourcepub fn set_relative_impact(self, input: Option<String>) -> Self
pub fn set_relative_impact(self, input: Option<String>) -> Self
The relative impact of the aggregated variables in terms of magnitude on the prediction scores.
sourcepub fn get_relative_impact(&self) -> &Option<String>
pub fn get_relative_impact(&self) -> &Option<String>
The relative impact of the aggregated variables in terms of magnitude on the prediction scores.
sourcepub fn log_odds_impact(self, input: f32) -> Self
pub fn log_odds_impact(self, input: f32) -> Self
The raw, uninterpreted value represented as log-odds of the fraud. These values are usually between -10 to +10, but range from -infinity to +infinity.
-
A positive value indicates that the variables drove the risk score up.
-
A negative value indicates that the variables drove the risk score down.
sourcepub fn set_log_odds_impact(self, input: Option<f32>) -> Self
pub fn set_log_odds_impact(self, input: Option<f32>) -> Self
The raw, uninterpreted value represented as log-odds of the fraud. These values are usually between -10 to +10, but range from -infinity to +infinity.
-
A positive value indicates that the variables drove the risk score up.
-
A negative value indicates that the variables drove the risk score down.
sourcepub fn get_log_odds_impact(&self) -> &Option<f32>
pub fn get_log_odds_impact(&self) -> &Option<f32>
The raw, uninterpreted value represented as log-odds of the fraud. These values are usually between -10 to +10, but range from -infinity to +infinity.
-
A positive value indicates that the variables drove the risk score up.
-
A negative value indicates that the variables drove the risk score down.
sourcepub fn build(self) -> AggregatedVariablesImpactExplanation
pub fn build(self) -> AggregatedVariablesImpactExplanation
Consumes the builder and constructs a AggregatedVariablesImpactExplanation
.
Trait Implementations§
source§impl Clone for AggregatedVariablesImpactExplanationBuilder
impl Clone for AggregatedVariablesImpactExplanationBuilder
source§fn clone(&self) -> AggregatedVariablesImpactExplanationBuilder
fn clone(&self) -> AggregatedVariablesImpactExplanationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AggregatedVariablesImpactExplanationBuilder
impl Default for AggregatedVariablesImpactExplanationBuilder
source§fn default() -> AggregatedVariablesImpactExplanationBuilder
fn default() -> AggregatedVariablesImpactExplanationBuilder
source§impl PartialEq for AggregatedVariablesImpactExplanationBuilder
impl PartialEq for AggregatedVariablesImpactExplanationBuilder
source§fn eq(&self, other: &AggregatedVariablesImpactExplanationBuilder) -> bool
fn eq(&self, other: &AggregatedVariablesImpactExplanationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.