Skip to content

VariableImpactExplanation

Source code in docs_src/capo_frauddetector/types/variable_impact_explanation.py
class VariableImpactExplanation(TypedDict, closed=True):
    event_variable_name: NotRequired["capo_frauddetector.types.string.string"]
    """<p> The event variable name. </p>"""
    relative_impact: NotRequired["capo_frauddetector.types.string.string"]
    """<p> The event variable's relative impact in terms of magnitude on the prediction scores. The relative impact values consist of a numerical rating (0-5, 5 being the highest) and direction (increased/decreased) impact of the fraud risk. </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 variable drove the risk score up.</p> </li> <li> <p>A negative value indicates that the variable drove the risk score down.</p> </li> </ul>"""

event_variable_name instance-attribute

event_variable_name: NotRequired[string]

The event variable name.

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 variable drove the risk score up.

  • A negative value indicates that the variable drove the risk score down.

relative_impact instance-attribute

relative_impact: NotRequired[string]

The event variable's relative impact in terms of magnitude on the prediction scores. The relative impact values consist of a numerical rating (0-5, 5 being the highest) and direction (increased/decreased) impact of the fraud risk.