Fixing a Spam Filter Bug

, Jochen

Lately, I had to delete a few spam comments per day on the Python Podcast website. I already built some spam filter for the site, but it didn't work as planned. In this stream I locate the bug and fix it, bringing up the F1 value for "ham" from 0.4 up to about 0.95, which will be enough for some time, hopefully.

Full disclosure: I found the bug before recording the stream because I'm experimenting with a small change in the stream format. I'd like to give it a little bit more story instead of just poking around randomly in the codebase 😁. The goal is to have more structure and a more relaxed schedule. Let's see how this works out.

The actual bug fixing starts around 01:31:00 and the stream language is german.

Return to blog