Toxic Comment Classification on Social Media Using Support Vector Machine and Chi Square Feature Selection

Nadhia Salsabila Azzahra, Danang Triantoro Murdiansyah, Kemas Muslim Lhaksmana

International Journal on Information and Communication Technology (IJoICT) · 2021 · 10 citations · 14 references

DOIFull text

Open access

Concepts

Abstract

The use of social media in society continues to increase over time and the ease of access and familiarity of social media then make it easier for an irresponsible user to do unethical things such as spreading hatred, defamation, radicalism, pornography so on. Although there are regulations that govern all the activities on social media. However, the regulations are still not working effectively. In this study, we conducted a classification of toxic comments containing unethical matters using the SVM method with TF-IDF as the feature extraction and Chi Square as the feature selection. The best performance result based on the experiment that has been carried out is by using the SVM model with a linear kernel, without implementing Chi Square, and using stemming and stopwords removal with the F1 − Score equal to 76.57%.

References

14