Onepagecode

Onepagecode

Detecting Bots on Twitter Using Machine Learning

Custom classification algorithm to sense the bots vs human on social media space like twitter

Onepagecode's avatar
Onepagecode
Feb 28, 2022
∙ Paid

Twitter bot is a program used to produce automated posts, follow Twitter users or serve as spam to entice clicks on the Twitter microblogging service. In this project, we will use Machine Learning techniques to predict weather an account on Twitter is a Bot or a real user. We have performed significant amount of feature engineering, along with feature extraction - selected features out of 20 helped us to identify whether an account is bot or non bot. We implemented various algorithm but finally implemented our own which gave us AUC>95%.

The picture of file structure:

The rest of the code is under a paywall, please subscribe it really helps me and it helps you, you get access to all the source code and data for my entire youtube channel. You get access to podcasts and many other things. You can copy the source code and use it anywhere you want. Please subscribe. You can find some of the codes on the medium page. click here for find source code

User's avatar

Continue reading this post for free, courtesy of Onepagecode.

Or purchase a paid subscription.
© 2026 Onepagecode · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture