Posts

Showing posts from August, 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 Automated BFIU Reporting Templates with Python and Pandas: A 8-Year AML Odyssey

I still remember the night we discovered a massive structuring ring at one of the local banks in Bangladesh. It was a BDT 100 million transaction that slipped through our monitoring systems. The next morning, our team was in a frenzy, trying to file a Suspicious Transaction Report (STR) with the Bangladesh Financial Intelligence Unit (BFIU). But, as we delved into the process, we realized that our manual reporting templates were inadequate and error-prone . That's when I decided to take matters into my own hands and automate our BFIU reporting templates using Python and Pandas. I had 8 years of experience in AML compliance, but I had never tackled a project like this before. I was determined to make it work. The Hidden Problem Standard approaches to automating BFIU reporting templates often fail in Bangladesh due to the unique nature of our financial landscape. We have a thriving mobile financial services (MFS) sector, with players like bKash, Nagad, and Rocket, which complica...