Skip to content

I created a hate speech recognition system using decision trees and Kaggle data, achieving high accuracy in identifying instances of hate speech

Notifications You must be signed in to change notification settings

ByteTrooper/Hate-Speech-Recognition-in-text-data

Repository files navigation

Hate-Speech-Recognition-in-text-data

I created a hate speech recognition system using decision trees and Kaggle data, achieving high accuracy in identifying instances of hate speech

Decision tree algorithm is a suitable choice for the hate speech recognition system due to its ability to handle categorical data and its intuitive structure. In this project, the dataset was pre-processed to extract relevant features such as the presence of certain words, phrases, and contextual information.

The decision tree algorithm works by recursively splitting the dataset based on a set of rules until a desired level of classification is reached. In the case of hate speech recognition, the algorithm identifies the most relevant features to split the dataset into subsets that correspond to hate speech and non-hate speech instances.

For example, consider the sentence "I hate people of a certain race." The decision tree algorithm would start by examining the presence of certain keywords like "hate" and "race." If these features are present, the algorithm would then examine contextual information such as the subject and object of the sentence to determine the likelihood of hate speech.

Overall, the decision tree algorithm provides an effective and intuitive approach to classifying hate speech instances in textual data.

About

I created a hate speech recognition system using decision trees and Kaggle data, achieving high accuracy in identifying instances of hate speech

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published