Research Log
Backend engineer (banking) learning ML systems: fraud, risk and reliable inference on transaction data.
Research pattern
Every experiment is written up the same way so results stay comparable over time.
- Question
- Hypothesis
- Data
- Method
- Result
- What I learned
- Next
Projects
v1 done
Synthetic Bank Transactions
100k synthetic card transactions with a known fraud mechanism, ~0.7% fraud rate.
v1 done
fraud-baseline-logreg
Logistic-regression baseline, time-based split. PR-AUC 0.72, the number to beat.
v1 done
Credit Card Fraud: EDA + Baseline
Same pattern on a public real-world dataset (Kaggle, mlg-ulb).
reference
fraud-scoring-service
The serving side: FastAPI real-time scoring with idempotency and reason codes.
Experiment log
| Date | Question | Result | Next |
|---|---|---|---|
| 2026-11-29 | Can a linear baseline recover a known fraud mechanism under a time-based split? | Yes: PR-AUC 0.72, and the top coefficients (velocity, amount spike) match the generator. | Gradient boosting on the same split |
| 2026-11-29 | Does the same baseline hold on real public data (mlg-ulb, 0.17% fraud)? | ROC-AUC 0.986 vs PR-AUC 0.753; recall 0.72 at precision ≥ 0.8. ROC-AUC overstates quality, as hypothesised. | Calibration + threshold from an alert budget |
Study roadmap
| Track | Topic | Status |
|---|---|---|
| Foundations | Imbalanced classification, PR-AUC, calibration | in progress |
| Foundations | Tree ensembles (GBDT) vs linear models | next |
| Data | Point-in-time feature engineering, leakage | planned |
| Data | Concept drift detection | planned |
| ML systems | Low-latency inference, model versioning, monitoring | planned |
| Deep learning | Sequence models over transaction histories | later |