Posts

Showing posts from May 7, 2026

I Built a BFIU-Compliant AML Detection System in Python (Here's Why the Kaggle Approach Doesn't Work

I Built a BFIU-Compliant AML Detection System in Python (Here's Why the Kaggle Approach Doesn't Work)

Most AML tutorials end with a confusion matrix and a 99% accuracy score. Here's why that doesn't work — and what I built instead. I've been working in fintech compliance data for a while. The one thing I kept noticing: every "fraud detection project" on GitHub or Kaggle uses the same dataset — the UCI credit card fraud dataset from 2013. It has 284,000 rows, 30 features labeled V1-V28, and approximately zero explanatory value for anyone who wants to understand how financial crime actually works. So I built something different. The problem with the standard approach Real transaction monitoring engines don't work like Kaggle competitions. They don't take a CSV, train a model, and output a probability score. They work like this: A rule engine runs first — deterministic, auditable, regulatory-cited rules that generate alerts Those alerts get scored and triaged by risk tier An ML layer reduces false positives among the high-risk alerts ...

How I Improved Threshold Monitoring for BDT 100,000 MFS Transactions with Python

Image
Photo by Sajad Nori on Unsplash Last quarter, while reviewing a batch of 80,000 MFS transactions, I noticed that approximately 10% of them exceeded the BDT 100,000 threshold, which is a critical limit for reporting suspicious transactions to the Bangladesh Financial Intelligence Unit (BFIU). This experience made me realize the importance of accurate and efficient threshold monitoring in Anti-Money Laundering (AML) compliance. The core problem most practitioners miss When I was new to AML compliance, I was wrong about this until I faced a situation where a significant number of transactions were just below the threshold, raising suspicions of structuring. In my experience, many analysts miss the fact that threshold monitoring is not just about identifying transactions above the limit but also about detecting patterns and anomalies that could indicate money laundering or terrorist financing. Background / why this matters in BD fintech context The Bangladeshi fintech sector, including mo...