Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

VariableImpactExplanation

import type { VariableImpactExplanation } from "https://aws-api.deno.dev/v0.4/services/frauddetector.ts?docs=full";

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

interface VariableImpactExplanation {
eventVariableName?: string | null;
logOddsImpact?: number | null;
relativeImpact?: string | null;
}

§Properties

§
eventVariableName?: string | null
[src]

The event variable name.

§
logOddsImpact?: number | null
[src]

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.
§
relativeImpact?: string | null
[src]

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.