#[non_exhaustive]pub struct PredictionExplanations {
pub variable_impact_explanations: Option<Vec<VariableImpactExplanation>>,
pub aggregated_variables_impact_explanations: Option<Vec<AggregatedVariablesImpactExplanation>>,
}
Expand description
The prediction explanations that provide insight into how each event variable impacted the model version's fraud prediction score.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.variable_impact_explanations: Option<Vec<VariableImpactExplanation>>
The details of the event variable's impact on the prediction score.
aggregated_variables_impact_explanations: Option<Vec<AggregatedVariablesImpactExplanation>>
The details of the aggregated variables impact on the prediction score.
Account Takeover Insights (ATI) model uses event variables from the login data you provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, your ATI model might calculate the number of times an user has logged in using the same IP address. In this case, event variables used to derive the aggregated variables are IP address
and user
.
Implementations§
source§impl PredictionExplanations
impl PredictionExplanations
sourcepub fn variable_impact_explanations(&self) -> &[VariableImpactExplanation]
pub fn variable_impact_explanations(&self) -> &[VariableImpactExplanation]
The details of the event variable's impact on the prediction score.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .variable_impact_explanations.is_none()
.
sourcepub fn aggregated_variables_impact_explanations(
&self
) -> &[AggregatedVariablesImpactExplanation]
pub fn aggregated_variables_impact_explanations( &self ) -> &[AggregatedVariablesImpactExplanation]
The details of the aggregated variables impact on the prediction score.
Account Takeover Insights (ATI) model uses event variables from the login data you provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, your ATI model might calculate the number of times an user has logged in using the same IP address. In this case, event variables used to derive the aggregated variables are IP address
and user
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .aggregated_variables_impact_explanations.is_none()
.
source§impl PredictionExplanations
impl PredictionExplanations
sourcepub fn builder() -> PredictionExplanationsBuilder
pub fn builder() -> PredictionExplanationsBuilder
Creates a new builder-style object to manufacture PredictionExplanations
.
Trait Implementations§
source§impl Clone for PredictionExplanations
impl Clone for PredictionExplanations
source§fn clone(&self) -> PredictionExplanations
fn clone(&self) -> PredictionExplanations
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PredictionExplanations
impl Debug for PredictionExplanations
source§impl PartialEq for PredictionExplanations
impl PartialEq for PredictionExplanations
source§fn eq(&self, other: &PredictionExplanations) -> bool
fn eq(&self, other: &PredictionExplanations) -> bool
self
and other
values to be equal, and is used
by ==
.