RunbookCard Fraud AnalysisJan – Dec 2017 · 254,224 labeled
Phase 6–7 · XGBoost · 32 features · diagnostics PASS

Detection model

At the operating threshold, one in two flags is real fraud and the model catches 17% of it — before any device, IP or 3DS signal.

Holdout AUC0.764expected band 0.62–0.85
5-fold CV AUC0.759± 0.0032 — stable
PR-AUC0.329vs 0.095 random
Operating point50 / 17% precision / recall @ 0.8588

What drives a score · mean |SHAP|

Merchant history dominates — nearly 2× the next feature.
Merchant Historical Fraud Rate
1.012
Merchant Subsector Fraud Frequency
0.593
Signature Provided
0.255
Card-to-Merchant Distance (km)
0.180
Cardholder Age Bucket
0.175
Card Prior Transaction Count
0.158
MCC Fraud Frequency
0.152
Item Category B Flag
0.118
Item Category C Flag
0.110
Log Transaction Amount
0.105
Card Tenure (Days)
0.082
Amount vs Card Mean (Ratio)
0.079
Item Category D Flag
0.064
Seconds Since Last Transaction
0.057
Month of Year
0.047

Rare flags (micro, velocity) rank low globally because they fire on under 3% of rows — but drive the most confident predictions.

  • Merchant Historical Fraud Rate: High value → toward fraud
  • Merchant Subsector Fraud Frequency: High value → toward fraud
  • Signature Provided: 1 (signed) → toward legit
  • Card-to-Merchant Distance (km): High distance → toward legit (weak)
  • Cardholder Age Bucket: Higher age → toward legit

Holdout confusion @ 0.8588

pred legitpred fraudactual legit
45,200true negative
829false alarm
actual fraud
3,987missed
829caught
§6.5 diagnostics
PASSLeakage — AUC 0.764 under the 0.85 ceiling
PASSUnderfit — above the 0.62 floor
PASSStability — CV std 0.0032, well under 0.05
PASSOverfit — early stop at round 290 of 300