Cyberbullying Detection on tweets from Twitter using Machine Learning Algorithms

Thibaut Balet, Quôoc Vo, Osman Salem, A. Mehaoua
{"title":"Cyberbullying Detection on tweets from Twitter using Machine Learning Algorithms","authors":"Thibaut Balet, Quôoc Vo, Osman Salem, A. Mehaoua","doi":"10.1109/ICCNS58795.2023.10193450","DOIUrl":null,"url":null,"abstract":"Cyberbullying has become a serious concern in today’s society, with the widespread use of social media platforms and other online communication channels. The negative impact of cyberbullying can be severe, ranging from emotional distress to even suicide. In this paper, we explore the use of machine learning algorithms to analyze the content of messages and identify those that contain abusive or harassing language. We used six popular algorithms, namely Logistic Regression (LR), k-Nearest Neighbors (KNN), Random Forest (RF), Classification and Regression Trees (CART), Naive Bayes and Support Vector Machine (SVM), to train and test our models on a dataset of Twitter tweets. To evaluate the performance of these models, we calculated several metrics, including accuracy, F1-score, cross-validation score and receiver operating characteristic (ROC) curve. Results show that Random Forest outperformed the other algorithms with an accuracy of 94%. The results suggest that the proposed method can be an effective automated tool for detecting and preventing cyberbullying on social media platforms like Twitter.","PeriodicalId":158016,"journal":{"name":"2023 International Conference on Intelligent Computing, Communication, Networking and Services (ICCNS)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Intelligent Computing, Communication, Networking and Services (ICCNS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCNS58795.2023.10193450","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Cyberbullying has become a serious concern in today’s society, with the widespread use of social media platforms and other online communication channels. The negative impact of cyberbullying can be severe, ranging from emotional distress to even suicide. In this paper, we explore the use of machine learning algorithms to analyze the content of messages and identify those that contain abusive or harassing language. We used six popular algorithms, namely Logistic Regression (LR), k-Nearest Neighbors (KNN), Random Forest (RF), Classification and Regression Trees (CART), Naive Bayes and Support Vector Machine (SVM), to train and test our models on a dataset of Twitter tweets. To evaluate the performance of these models, we calculated several metrics, including accuracy, F1-score, cross-validation score and receiver operating characteristic (ROC) curve. Results show that Random Forest outperformed the other algorithms with an accuracy of 94%. The results suggest that the proposed method can be an effective automated tool for detecting and preventing cyberbullying on social media platforms like Twitter.
使用机器学习算法对Twitter上的推文进行网络欺凌检测
随着社交媒体平台和其他网络传播渠道的广泛使用,网络欺凌已成为当今社会的一个严重问题。网络欺凌的负面影响可能很严重,从情绪困扰到自杀。在本文中,我们探索了使用机器学习算法来分析消息的内容,并识别那些包含辱骂或骚扰语言的内容。我们使用六种流行的算法,即逻辑回归(LR)、k近邻(KNN)、随机森林(RF)、分类与回归树(CART)、朴素贝叶斯和支持向量机(SVM),在Twitter推文数据集上训练和测试我们的模型。为了评估这些模型的性能,我们计算了几个指标,包括准确性、f1评分、交叉验证评分和受试者工作特征(ROC)曲线。结果表明,随机森林算法优于其他算法,准确率达到94%。研究结果表明,该方法可以成为一种有效的自动化工具,用于检测和防止Twitter等社交媒体平台上的网络欺凌。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书