Cross-platform spam messages classification based on the multiple machine learning algorithms
Abstract
The proliferation of spam messages has had a detrimental impact on users' experience of emails and social media. Consequently, it is imperative to implement effective spam filtering mechanisms to enhance online experiences. Internet companies have leveraged machine learning algorithms to detect and thwart spam messages. Given the multitude of popular social media platforms, it is critical to evaluate the efficacy of prevalent machine learning algorithms across diverse online platforms. This study seeks to assess the performance of Support Vector Machine, Linear Regression, and Random Forest on social media. To this end, datasets containing spam and non-spam messages sourced from YouTube comment sections and Twitter will be procured. The text data will be transformed using a vectorizer to enable interpretation by machine learning models. Three models employing SVM, Linear Regression, and Random Forest will be trained and deployed to test their effectiveness. The models will be applied to detect spam messages in the test dataset, YouTube comment set, and Tweet set. The performance of the models will be evaluated based on accuracy, F1 score, and precision score. The findings indicate that the models' performance on various social media datasets is not satisfactory, as there is a significant reduction in accuracy.
References
- Kudupudi N NAIR S 2021 Spam message detection using logistic regression International Journal of Advanced Computer Science and Applications 9(9): 815-818
- Spam Report 2016 https://media.kasperskycontenthub.com/wp-content/uploads/sites/43/2016/08/07185333/Spam-report_Q2-2016_final_ENG.pdf
- Dada E G Bassi J S Chiroma H et al. 2019 Machine learning for email spam filtering: review, approaches and open research problems Heliyon 5(6): e01802
- Hsu W C Yu T Y 2010 E-mail Spam Filtering Based on Support Vector Machines with Taguchi Method for Parameter Selection J. Convergence Inf. Technol 5(8): 78-88.
- Jakkula V 2006 Tutorial on support vector machine (svm) School of EECS, Washington State University 37(2.5): 3
- Mrisho Z K Ndibwile J D Sam A E 2021 Low Time Complexity Model for Email Spam Detection using Logistic Regression International Journal of Advanced Computer Science and Applications 12(12)
- Berrou B K Al Kalbani K Antonijevic M et al. 2023 Training a Logistic Regression Machine Learning Model for Spam Email Detection Using the Teaching-Learning-Based-Optimization Algorithm Proceedings of the 1st International Conference on Innovation in Information Technology and Business (ICIITB 2022). Springer Nature 104: 306
- Reddy K N Kakulapati V 2021 Classification of Spam Messages using Random Forest Algorithm Resesearchgate
- Kaggle 2018 https://www.kaggle.com/datasets/goneee/youtube-spam-classifiedcomments?select=Youtube02-KatyPerry.csv
- Kaggle 2017 https://www.kaggle.com/datasets/uciml/sms-spam-collection-dataset
- Kaggle 2023 https://www.kaggle.com/datasets/greyhatboy/twitter-spam-dataset
- Kaggle 2021 https://www.kaggle.com/datasets/fahmisulthoni/tweet-spam
- Kaggle 2022 https://www.kaggle.com/datasets/madhuragl/5000-youtube-spamnot-spam-dataset
- Kontsewaya Y Antonov E Artamonov A 2021 Evaluating the effectiveness of machine learning methods for spam detection Procedia Computer Science 190: 479-486
- Lawton G et al. 2022 What Is Logistic Regression? - Definition from Searchbusinessanalytics Business Analytics, TechTarget, 20 Jan. https://www.techtarget.com/searchbusinessanalytics/definition/logistic-regression.