Skip to content

AggregatedVariablesImpactExplanation

Source code in docs_src/capo_frauddetector/types/aggregated_variables_impact_explanation.py
class AggregatedVariablesImpactExplanation(TypedDict, closed=True):
    event_variable_names: NotRequired[
        "capo_frauddetector.types.list_of_strings.ListOfStrings"
    ]
    """<p> The names of all the event variables that were used to derive the aggregated variables. </p>"""
    relative_impact: NotRequired["capo_frauddetector.types.string.string"]
    """<p> The relative impact of the aggregated variables in terms of magnitude on the prediction scores. </p>"""
    log_odds_impact: NotRequired["capo_frauddetector.types.float.float"]
    """<p> 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.</p> <ul> <li> <p>A positive value indicates that the variables drove the risk score up.</p> </li> <li> <p>A negative value indicates that the variables drove the risk score down.</p> </li> </ul>"""

event_variable_names instance-attribute

event_variable_names: NotRequired[ListOfStrings]

The names of all the event variables that were used to derive the aggregated variables.

log_odds_impact instance-attribute

log_odds_impact: NotRequired[float]

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.

relative_impact instance-attribute

relative_impact: NotRequired[string]

The relative impact of the aggregated variables in terms of magnitude on the prediction scores.