ATM Fraud Monitor · Machine Learning
A Random Forest classifier trained on 284,807 real card transactions, balanced with SMOTE, screening each swipe for the fingerprints of fraud the moment it's authorized.
Scan a TransactionThis card remains property of Finwise Secure Bank. Report lost or stolen cards immediately.
Tap the card to flip it
01 — Live Terminal
V1–V28 are PCA-transformed features, auto-filled from the selected sample (or zeroed for a manual entry).
Analysis Readout
02 — Training Results
| Model | Accuracy | ROC-AUC |
|---|
03 — Pipeline
284,807 real transactions from the Kaggle (ULB) credit card fraud dataset.
Time and Amount are each standardized with their own StandardScaler; V1–V28 arrive already PCA-transformed.
SMOTE oversamples the fraud class so the model sees fraud and legitimate patterns in equal number.
Logistic Regression, Decision Tree, Random Forest, KNN and a small neural net are trained on the balanced set, in a fixed column order: Time, V1…V28, Amount.
FastAPI loads the saved model and scalers, rebuilds that exact column order for every request, and returns a fraud probability.