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.

  1. Question
  2. Hypothesis
  3. Data
  4. Method
  5. Result
  6. What I learned
  7. 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

DateQuestionResultNext
2026-11-29Can 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-29Does 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

TrackTopicStatus
FoundationsImbalanced classification, PR-AUC, calibrationin progress
FoundationsTree ensembles (GBDT) vs linear modelsnext
DataPoint-in-time feature engineering, leakageplanned
DataConcept drift detectionplanned
ML systemsLow-latency inference, model versioning, monitoringplanned
Deep learningSequence models over transaction historieslater