Skip to content

PredictionExplanations

Source code in docs_src/capo_frauddetector/types/prediction_explanations.py
class PredictionExplanations(TypedDict, closed=True):
    variable_impact_explanations: NotRequired[
        "capo_frauddetector.types.list_of_variable_impact_explanations.listOfVariableImpactExplanations"
    ]
    """<p> The details of the event variable's impact on the prediction score. </p>"""
    aggregated_variables_impact_explanations: NotRequired[
        "capo_frauddetector.types.list_of_aggregated_variables_impact_explanations.ListOfAggregatedVariablesImpactExplanations"
    ]
    """<p> The details of the aggregated variables impact on the prediction score. </p> <p>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 <code>IP address</code> and <code>user</code>.</p>"""

aggregated_variables_impact_explanations instance-attribute

aggregated_variables_impact_explanations: NotRequired[
    ListOfAggregatedVariablesImpactExplanations
]

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.

variable_impact_explanations instance-attribute

variable_impact_explanations: NotRequired[listOfVariableImpactExplanations]

The details of the event variable's impact on the prediction score.