O'Reilly logo

Mastering Social Media Mining with R by Vikram Garg, Sharan Kumar Ravindran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spam detection

Spam detection is an important use case to deal with. With the growing number of users, the number of spam comments/messages is also increasing. Hence, it is important to build a model or a rule engine which would be capable of identifying the fraudulent user, posting some random message.

The implementation of this algorithm would be slightly difficult because there is no direct mechanism to tag a post as spam. In this section, we will teach you to build a basic model based on certain parameters as well as users' inputs to identify a spam post. This will definitely help you to understand the concept. Any such algorithm implemented would require a constant update since the spammers too, would change their strategy.

Implementing a spam ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required