Code against Hate: Building a Cyberbullying Detector in Python
Description
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.
Files
Code against Hate Building a Cyberbullying Detector in Python -Formatted Paper.pdf
Files
(506.1 kB)
Name | Size | Download all |
---|---|---|
md5:d9679550b6529bc98a631cefe5623af3
|
506.1 kB | Preview Download |
Additional details
References
- 1. https://findahelpline.com/countries/in/topics/bullying
- 2. https://www.kaggle.com/datasets/saurabhshahane/cyberbullying-dataset
- 3. https://www.kaggle.com/datasets/andrewmvd/cyberbullying-classification
- 4. Shaikh, F. B., Rehman, M., & Amin, A. (2020). Cyberbullying: A systematic literature review to identify the factors impelling university students towards cyberbullying. IEEE Access, 8, 148031-148051.
- 5. Hang, O. C., & Dahlan, H. M. (2019, December). Cyberbullying lexicon for social media. In 2019 6th International Conference on Research and Innovation in Information Systems (ICRIIS) (pp. 1-6). IEEE.
- 6. Liu, Y., Zavarsky, P., & Malik, Y. (2019). 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.
- 7. Singh, V. K., & Hofenbitzer, C. (2019, August). Fairness across network positions in cyberbullying detection algorithms. In Proceedings of the 2019 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (pp. 557-559).
- 8. Talpur, B. A., & O'Sullivan, D. (2020). Cyberbullying severity detection: A machine learning approach. PloS one, 15(10), 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