
RETAIL BANK · CANADA
2024
Fraud Detection System
Logistic regression model on labelled transaction history with engineered behavioural features — improved early detection and reduced false positives.

RETAIL BANK · CANADA
2024
Logistic regression model on labelled transaction history with engineered behavioural features — improved early detection and reduced false positives.

CREDIT UNION
2023
Live demo · Try it
Enter a transaction and get an instant fraud probability with a recommended action. Powered by a logistic regression with engineered features (amount × night, amount × distance, velocity, online category) — test AUC ≈ 0.999on a held-out sample of 50,000 transactions.
How it works
Demo only · Predictions are derived from a trained model on a simulated dataset and are not a substitute for production fraud controls.
Model performance · held-out test set
Sparkov-style simulated card transactions · 200,000 rows · 2.5% fraud base rate
AUC
0.999
Precision @ High Risk
31.1%
Recall @ High Risk
99.6%
F1
0.474
Confusion matrix · High Risk threshold
| Pred negative | Pred positive | |
|---|---|---|
| Actual neg | 45,995 | 2,755 |
| Actual pos | 5 | 1,245 |
Sample
Batch mode · CSV
Upload a CSV of transactions and get a fraud probability + recommended action for every row. All processing happens locally in your browser — nothing is uploaded to a server.
amt · Amount ($) (number)category · Merchant category (string)hour · Hour (0–23) (number)distanceKm · Distance from home (km) (number)trans24h · Txns in last 24h (number)age · Cardholder age (number)Live Demo · Try it
A working logistic regression model trained on 30,000 real credit card client records. Enter applicant details to estimate the probability of default and see the recommended approval decision.
Model performance · held-out test set
UCI Default of Credit Card Clients (Taiwan, 2005) · 30,000 rows · 22% default base rate
AUC
0.739
Precision @ High Risk
56.8%
Recall @ High Risk
38.5%
F1
0.459
Confusion matrix · High Risk threshold
| Pred negative | Pred positive | |
|---|---|---|
| Actual neg | 5,355 | 486 |
| Actual pos | 1,020 | 639 |
Sample
Batch mode · CSV
Upload a CSV of credit card applicants and get a default probability + recommended decision for every row. All processing happens locally in your browser — nothing is uploaded.
limitBal · Credit limit (NT$) (number)age · Age (number)sex · Sex (1=M, 2=F) (string)marriage · Marriage (1/2/3) (string)education · Education (1–4) (string)billAmt1 · Current bill (NT$) (number)payAmt1 · Last payment (NT$) (number)pay0 · Repayment status — last month (number)pay2 · Repayment status — 2 months ago (number)pay3 · Repayment status — 3 months ago (number)