Abstract
Social networking has become a significant component of life for all. With increasing accessibility to the Internet, there is a huge amount of hatred and toxicity globally on online platforms. People tend to post toxic comments, hiding behind anonymous identities. Therefore, it is very much required to filter out the toxicity and avoid unnecessary hate on online social media platforms, so that the actual purpose of these platforms, which is to facilitate effective conversations among communities and expressing oneself freely, can be fulfilled. The research work aims to build and train various classification models, namely SVM, logistic regression, naive Bayes, XGBoost, and bidirectional LSTM (long short-term memory), which assist in the classification of toxic comments in different subcategories. A comparative evaluation of these classification models using two datasets is done based on their accuracy. With these classification models’ help, we can prevent online harassment and abuse and create a safer Internet environment.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Alwis, V.: Intelligent E-news Summarization. In: 2018 18th International Conference on Advances in ICT for Emerging Regions (ICTer) (2018)
Chakrabarty, N.: A Machine Learning Approach to Comment Toxicity Classification. Computational Intelligence in Pattern Recognition, pp. 183–193. Springer, Singapore (2020)
https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/data
Yu, L.C., Wang, J., Lai, K.R., Zhang, X.: Refining word embeddings for sentiment analysis. In: Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing (2017)
Pennington, J., Socher, R., Manning, C.D.: Computer Science Department, Stanford University. GloVe: Global Vectors for Word Representation
Agarwal, A., Xie, B., Vovsha, I., Rambow, O., Passonneau, R.: Sentiment Analysis of Twitter Data
Aken, V., Risch, B., Krestel, J., Alexander, L.R.: Challenges for Toxic Comment Classification: An In-Depth Error Analysis (2018)
Rathee, N., Joshi, N., Kaur, J.: Sentiment analysis using machine learning techniques on Python. In: 2018 Second International Conference on Intelligent Computing and Control Systems (ICICCS), Madurai, India, pp. 779-785 (2018). https://doi.org/10.1109/ICCONS.2018.8663224.
Chandra Satapathy, S., Raju, K.S., Shyamala, K., Krishna, D.R., Favorskaya, M.N.: Advances in Decision Sciences, Image Processing. Security and Computer Vision. Springer Science and Business Media LLC (2020)
Stamp, M., Alazab, M., Shalaginov, A.: Malware Analysis Using Artificial Intelligence and Deep Learning. Springer Science and Business Media LLC (2021)
Shakhovska, N.: Advances in Intelligent Systems and Computing (2016)
Agarwal, B., Nayak, R., Mittal, N., Patnaik, S.: Deep Learning-Based Approaches for Sentiment Analysis. Springer Science and Business Media LLC (2020)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Gupta, S., Goel, M., Rathee, N. (2022). Machine Learning Approach to Classify Toxic Comments on Social Media Platforms. In: Saraswat, M., Roy, S., Chowdhury, C., Gandomi, A.H. (eds) Proceedings of International Conference on Data Science and Applications. Lecture Notes in Networks and Systems, vol 287. Springer, Singapore. https://doi.org/10.1007/978-981-16-5348-3_34
Download citation
DOI: https://doi.org/10.1007/978-981-16-5348-3_34
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-5347-6
Online ISBN: 978-981-16-5348-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)