Fraud detection demo

Score real card transactions with the trained fraud model, running in your browser. Change a transaction to see how the model reacts, then set the alert policy and see what fraud would cost the business across every held-out transaction.

Transaction

Pick a real transaction

Loading…

At 0% its 28 anonymized card features are swapped for those of a typical legitimate purchase.

Alert policy

Analyst time per flagged transaction. Missed fraud costs its full amount.

Fraud score
–
–
Pattern anomaly
–
autoencoder error vs. a typical purchase
Fraud cost, test set
–
–

Total cost by alert threshold

  • Model
  • No model
Loading the model…

Line chart of total cost (alert reviews plus missed fraud) on the held-out test set at each alert threshold, compared with the cost of having no model.

Outcome on the held-out test set at the current threshold
At this thresholdTest set

How it works

Data: the public European cardholder dataset (284,807 transactions, 0.17% fraud). The threshold was chosen on a validation split; costs here are on the separate test set. Read the case study or the code.