Back to Search Start Over

Detection of hate: speech tweets based convolutional neural network and machine learning algorithms.

Authors :
Sennary HA
Abozaid G
Hemeida A
Mikhaylov A
Broderick T
Source :
Scientific reports [Sci Rep] 2024 Nov 21; Vol. 14 (1), pp. 28870. Date of Electronic Publication: 2024 Nov 21.
Publication Year :
2024

Abstract

There is no doubt that social media sites have provided many benefits to humanity, such as sharing information continuously and communicating with others easily. It also seems that social media sites have many advantages, but in addition to these advantages, there are disadvantages that we always strive to find a solution. One of these disadvantages is sharing hate speech. In our study, we're discussing a way to solve this phenomenon by using Term Frequency-Inverse Document Frequency (TF-IDF) based approach to feature engineering on eleven classifiers for machine and deep learning that can automatically identify hate speech. Three different databases were used, the first of which "Hate speech offensive tweets by Davidson et al.", the second called "Twitter hate speech" and finally we merged the second data with (Cyberbullying dataset (toxicity_parsed_dataset)". The classifiers involved are Logistic Regression (LR), Naive Bayes (NB), Multi-layer Perceptron (MLP), and Support Vector Machine (SVM), Random Forest (RF), K-Nearest Neighbor (KNN), K-Means, Decision Tree (DT), Gradient Boosting classifier (GBC), and the Extra Trees (ET) in addition to the convolutional neural network (CNN). Maximum accuracy was attained, which exceeded 99%.<br />Competing Interests: Declarations. Competing interests: The authors declare no competing interests.<br /> (© 2024. The Author(s).)

Details

Language :
English
ISSN :
2045-2322
Volume :
14
Issue :
1
Database :
MEDLINE
Journal :
Scientific reports
Publication Type :
Academic Journal
Accession number :
39572576
Full Text :
https://doi.org/10.1038/s41598-024-76632-2