

Code against Hate: Building a Cyberbullying Detector in Python
Abstract
In the digital age, combating cyberbullying is imperative for fostering a safe online environment. This project introduces a Python-based machine learning approach to detect cyberbullying in tweets. Leveraging a dataset featuring "tweet_text" and "cyberbullying_type" labels, the system employs a Multinomial Naive Bayes classifier after transforming text data using TF-IDF vectorization. The model is trained, evaluated, and serves as a vigilant defender against cyber threats, contributing to the ongoing efforts for online civility. By blending technology and ethics, this initiative underscores the role of machine learning in fostering empathy and ensuring a positive digital experience for users.
References
https://findahelpline.com/countries/in/topics/bullying
https://www.kaggle.com/datasets/saurabhshahane/cyberbullying-dataset
https://www.kaggle.com/datasets/andrewmvd/cyberbullying-classification
F. Bashir Shaikh, M. Rehman and A. Amin, "Cyberbullying: A Systematic Literature Review to Identify the Factors Impelling University Students Towards Cyberbullying," in IEEE Access, vol. 8, pp. 148031-148051, 2020, doi: 10.1109/ACCESS.2020.3015669
O. C. Hang and H. M. Dahlan, "Cyberbullying Lexicon for Social Media," 2019 6th International Conference on Research and Innovation in Information Systems (ICRIIS), 2019, pp. 1- 6, doi: 10.1109/ICRIIS48246.2019.9073679
Liu, YuYi, Pavol Zavarsky, and Yasir Malik. "Non-linguistic features for cyberbullying detection on a social media platform using machine learning." In Cyberspace Safety and Security: 11th International Symposium, CSS 2019, Guangzhou, China, December 1–3, 2019, Proceedings, Part I 11, pp. 391-406. Springer International Publishing, 2019.
V. K. Singh and C. Hofenbitzer, "Fairness across Network Positions in Cyberbullying Detection Algorithms," 2019 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), 2019, pp. 557- 559, doi: 10.1145/3341161.3342949.
Talpur, Bandeh Ali, and Declan O’Sullivan. "Cyberbullying severity detection: A machine learning approach." PloS one 15, no. 10 (2020): e0240924.
https://www.upgrad.com/blog/multinomial-naive-bayes-explained/:~:text=The%20Multinomial%20Naive%20Bayes%20algorithm%20is%20a%20Bayesian%20learning%20approach,tag%20with%20the%20greatest%20chance.
Refbacks
- There are currently no refbacks.