Real-Time Fraud Detection Streams
Score every payment before it settles: windowed velocity features, a rules engine, an ML model and a decision in under 100 milliseconds — with feedback that improves it every day.
Start the free previewLabs run in your browser. No installs.
What you will be able to do
- Compute sliding-window features on a payment stream
- Combine rules and ML scores into allow, challenge or block decisions
- Meet latency budgets and degrade safely
- Close the loop with delayed labels and drift monitoring
Tools
- Apache Kafka
- Apache Flink
- Redis
- Python
- feature store
Syllabus — 5 modules
Streams, events and time
Events arrive late and out of order. Event time, watermarks and windows decide what “the last 10 minutes” means.
Event time vs processing time · Tumbling, sliding and session windows · Watermarks and late data · State stores
Online features
Velocity, novelty and network features must be computed the same way online and offline, or the model sees a different world in production.
Online and offline feature parity · Feature stores · Counting distinct beneficiaries and devices · Graph features in real time
Rules engines and decisions
Rules give instant, explainable control; models catch what rules miss. A decision layer combines both into allow, step-up or block.
Rule authoring and testing · Score thresholds and bands · Step-up authentication · Champion–challenger rollout
Latency and resilience
A fraud check sits in the payment path. Budget every millisecond, cache hot features and decide what happens when the model is down.
Latency budgets and p99 · Caching and pre-computation · Fail-open vs fail-closed · Back-pressure and replay
Feedback, drift and fraudsters who adapt
Fraudsters adapt within days. Labels arrive late; models drift. Monitoring, retraining and red-team testing keep detection ahead.
Delayed and noisy labels · Concept drift detection · Retraining cadence · Adversarial testing
How you are assessed
Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.
Where it sits in the Fraud & Payments Data track
- Fraud & AML Analytics in Africa Beginner → Intermediate
- Data Sovereignty & Cross-Border Compliance in Africa Intermediate
- Pan-African Fraud Data Pipelines (20 Countries) Advanced
- Real-Time Fraud Detection Streams (this course) Advanced
Part of these career paths
Questions and answers
- How long does the Real-Time Fraud Detection Streams course take?
- About 20 hours across 5 modules, at your own pace. At five hours a week most learners finish in 4 weeks.
- Is Real-Time Fraud Detection Streams free?
- The first module is a free preview. The full course is part of Pro, or a friend's invite can unlock its whole track for up to three months using referral points.
- Do I get a certificate for Real-Time Fraud Detection Streams?
- Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
- What should I know before starting Real-Time Fraud Detection Streams?
- It follows Pan-African Fraud Data Pipelines (20 Countries) in the Fraud & Payments Data track. If Fraud & Payments Data is new to you, start with Fraud & AML Analytics in Africa.
- What will I be able to do after Real-Time Fraud Detection Streams?
- Compute sliding-window features on a payment stream; Combine rules and ML scores into allow, challenge or block decisions; Meet latency budgets and degrade safely.