🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links
advanced

Real-time Fraud Detection with CEP

#stream-processing #fintech #algorithms #real-time

Implement complex event processing logic for financial fraud.

Design a Complex Event Processing (CEP) query to detect potential credit card fraud in a real-time transaction stream. The logic should flag an account if: 1) Three transactions occur in different countries within 10 minutes, OR 2) A single transaction exceeds the user's average historical transaction amount by 5 standard deviations and occurs between 2 AM and 4 AM local time. Define the input event schema and the stateful windowing logic required to maintain historical aggregates efficiently.