Fighting Spam on YouTube with TensorFlow & Python
Simply Explained Simply Explained
464K subscribers
24,967 views
0

 Published On Jun 25, 2021

I'm sick of crypto-related spam comments on YouTube, so I trained a machine learning model to delete them! A script runs periodically and uses the text classifier to filter the latest comments on my videos.

The filter is surprisingly effective, even though the training dataset is relatively small. I'll keep expanding the dataset and retrain the classifier so it becomes more accurate overtime.

đź’Ś Sign up for Simply Explained Newsletter:
https://newsletter.simplyexplained.com
Monthly newsletter with cool stuff I found on the internet (related to science, technology, biology, and other nerdy things)! No spam. Ever. Promise!


🌍 Social
Twitter:   / savjee  
Facebook:   / savjee  
Blog: https://savjee.be



❤️ Become a Simply Explained member:    / @simplyexplained  

👩‍💻 Source code:
Available on GitHub:
https://github.com/Savjee/yt-spam-cla...

âť“âť“ Frequently asked question:
âť“ Why do I still see spam comments on your channel?
First, not all comments are caught by the AI and still require manual intervention. Secondly, the script runs on a fixed interval. Give it some time to run. And thirdly, it only filters recent comments. I will let the classifier clean up the old comments as well.

show more

Share/Embed