Classification of Spam URLs Using Machine Learning Approaches
This addresses spam-related challenges on the Internet for users and resource management, but it is incremental as it applies existing methods to a specific domain.
This study tackled the problem of classifying URLs as spam or non-spam using machine learning models, achieving a highest accuracy of 98.64% with bagging, which outperformed other models and current state-of-the-art approaches.
The Internet is used by billions of users every day because it offers fast and free communication tools and platforms. Nevertheless, with this significant increase in usage, huge amounts of spam are generated every second, which wastes internet resources and, more importantly, users' time. This study investigates the use of machine learning models to classify URLs as spam or nonspam. We first extract the features from the URL as it has only one feature, and then we compare the performance of several models, including k nearest neighbors, bagging, random forest, logistic regression, and others. Experimental results demonstrate that bagging outperformed other models and achieved the highest accuracy of 98.64%. In addition, bagging outperformed the current state-of-the-art approaches which emphasize its effectiveness in addressing spam-related challenges on the Internet. This suggests that bagging is a promising approach for URL spam classification.