Step 4 of 5
Model Training
Train and compare three complementary scorers — a supervised gradient booster, an unsupervised anomaly detector, and a transparent rules engine — then review combined evaluation metrics.
XGBoost
Supervised gradient booster
AUC
0.962
Precision
0.871
Recall
0.793
F1
0.830
Feature importance
Isolation Forest
Unsupervised anomaly detector
AUC vs labeled fraud
0.884
Anomaly score distribution
Isolation percentile histogram
Rules Engine
Transparent deterministic rules
Rules
24
Triggered 24h
1,847
Coverage
64%
Top rules · editable thresholds
- 412 hits
R-001
High amount > $5,000
Threshold$ - 287 hits
R-014
Velocity: 5+ txns / 10 min
Thresholdtxn - 198 hits
R-022
Geo velocity > 800 km/h
Thresholdkm/h - 164 hits
R-007
New device + amount > $300
Threshold$ - 141 hits
R-019
IP country ≠ card BIN
Thresholdflag - 92 hits
R-031
Merchant chargeback > 2%
Threshold%
Combined evaluation
Hold-out validation dashboard
Fraud detection rate
79.4%
False positives
287
False negatives
509
True positives
1,961
True negatives
181,545
ROC Curve
True positive rate vs false positive rate
Precision–Recall Curve
Precision across recall thresholds
Confusion Matrix
Counts at the calibrated decision threshold
181,545
TN
287
FP
509
FN
1,961
TP
