fraud-synth-bench / docs /DATA_CARD_STATS.md
thanatchon36's picture
Add the 45 synthetic datasets, run logs and dataset card (part 2)
d632223 verified
|
Raw History Blame Contribute Delete
2.39 kB
# Data card statistics: `small` preset, seed 0
Generated by `experiments/data_card_stats.py`. Content hash `858b01351cd6611f`.
## Size
| quantity | value |
|---|---|
| transactions | 197,300 |
| fraud transactions | 987 |
| fraud rate | 0.5003% |
| accounts | 20,101 |
| merchants | 1,006 |
| devices | 21,585 |
| edges (aggregated) | 146,780 |
## Fraud by scenario
| scenario | transactions | events | median_amount | detected_share |
|---|---|---|---|---|
| card_testing | 124 | 12 | 1.92 | 1.00 |
| account_takeover | 124 | 33 | 171.69 | 1.00 |
| velocity_abuse | 124 | 10 | 83.41 | 1.00 |
| friendly_fraud | 123 | 80 | 81.99 | 0.94 |
| bust_out | 123 | 7 | 330.94 | 0.82 |
| mule_network | 123 | 8 | 1,604.11 | 0.85 |
| merchant_collusion | 123 | 6 | 200.00 | 1.00 |
| synthetic_identity | 123 | 4 | 90.74 | 0.80 |
## Amounts (USD-like units)
| class | p10 | p50 | p90 | p99 | mean |
|---|---|---|---|---|---|
| fraud | 2.61 | 140.75 | 1,044.45 | 2,694.31 | 350.60 |
| legit | 9.04 | 34.04 | 144.28 | 517.04 | 66.67 |
## Channel mix
| channel | transactions | fraud_% |
|---|---|---|
| pos | 119486 | 0.09 |
| online | 67945 | 1.12 |
| transfer | 9869 | 1.25 |
## Merchant category mix (legitimate)
| mcc | transactions | median_amount | share_% |
|---|---|---|---|
| grocery | 44569 | 24.41 | 22.70 |
| retail | 27882 | 41.12 | 14.20 |
| restaurant | 26345 | 22.23 | 13.42 |
| online_marketplace | 17100 | 44.91 | 8.71 |
| fuel | 15857 | 30.76 | 8.08 |
| electronics | 13833 | 119.99 | 7.05 |
| entertainment | 11952 | 29.32 | 6.09 |
| digital_goods | 10506 | 13.57 | 5.35 |
| p2p_transfer | 9746 | 64.19 | 4.96 |
| utilities | 5302 | 54.46 | 2.70 |
| pharmacy | 5281 | 20.55 | 2.69 |
| travel | 4032 | 179.42 | 2.05 |
| gift_cards | 3908 | 65.62 | 1.99 |
## Hour of day (share of transactions, %)
| hours | legit_% | fraud_% |
|---|---|---|
| 0-4h | 3.98 | 16.11 |
| 4-8h | 8.65 | 12.66 |
| 8-12h | 22.77 | 17.22 |
| 12-16h | 32.93 | 27.66 |
| 16-20h | 22.95 | 15.91 |
| 20-24h | 8.72 | 10.44 |
## Label delay (observed fraud, days)
| group | min | median | max |
|---|---|---|---|
| friendly_fraud | 11.38 | 30.34 | 46.67 |
| other fraud | 7.34 | 20.57 | 31.22 |
## Device sharing (online/transfer transactions)
| device | devices | mean_accounts | shared_% |
|---|---|---|---|
| device with fraud | 255 | 1.36 | 17.25 |
| legit-only device | 16644 | 1.05 | 4.54 |