Cyber Bullying Detection Using Machine Learning Project


Cyberbullying is the process of sending wrong messages to a person or community which causes heated debate among users. Cyberbullying is mostly seen on social networking sites where users reply to post with bullying words to threaten or insult other users. Cyberbullying is considered a misuse of technology. According to the latest survey done all over the world data day by day, cases are increasing on cyberbullying.

In order to solve this problem many natural language processing techniques are proposed by various authors which are time taking and not automatic. With the advancement of machine learning and artificial intelligence, models can be created and automatic detection can be implemented. To show this scenario live chat application is developed in python programming with multiple clients and one server and the Naive Bayes algorithm is used to train the model on a Twitter dataset using this model live detection of cyberbullying is predicted and alert messages are shown on the chat application.

Problem statement:

Social networking and online chatting applications provide a platform for any user to share knowledge and talent but few users take this platform to threaten users with cyberbullying attacks which causes issues in using these platforms.


To provide a better platform for users to share knowledge on social networking sites there is a need for an effective detection system that can automate the process of cyberbullying detection and take decisions.

Existing system:

  • Techniques like unsupervised labeling methods which use N-gram, and TF-IDF methods to detect cyberbullying are used which use the youtube dataset to detect attacks.
  • A support vector classifier is used to train models for detection.


Techniques that are used in the existing system are not automated they need time to process requests and update responses.

Social networking and chatting sites require automated detecting and processing methods.

Proposed system:

Cyberbullying detection is designed using machine learning techniques. The Twitter data set is collected with features and labels and the mode is trained using the Naive Bayes algorithm the trained model is applied to a live chatting application that has multiple clients and a single server. For each message, cyberbullying is detected using the model and then alert messages are posted on chat boards.


The cyberbullying detection process is automatic and time taken for detection is less and it works in a live environment. 

The latest machine learning models are used for training models that are accurate.

Software Requirement:

Programming language: python

Front End GUI : tkinter

Dataset: Twitter cyberbullying dataset

Algorithm: Naive Bayes

13 Replies to “Cyber Bullying Detection Using Machine Learning Project”

Leave a Reply

Your email address will not be published. Required fields are marked *