%0 Journal Article %T 基于SMOTE算法的垃圾邮件检测研究
The Research of Spam Detection Based on SMOTE Algrithom %A 张博航 %A 闫嘉 %J Hans Journal of Data Mining %P 151-158 %@ 2163-1468 %D 2025 %I Hans Publishing %R 10.12677/hjdm.2025.152013 %X 垃圾邮件检测一直是大数据和人工智能领域的研究热点。本文对Kaggle平台上的垃圾邮件数据集,进行了从数据预处理、文本特征构建,到垃圾邮件检测模型构建的完整数据处理过程。由于在垃圾邮件数据集中正常邮件和垃圾邮件占比极度不均衡,故采用SMOTE算法对垃圾邮件进行数据扩充,之后采用逻辑回归、支持向量机、决策树和随机森林四种学习算法构建垃圾邮件检测模型。本文对比了SMOTE前后四种检测模型的性能,尤其比较了准确率、精确度、召回率和F1-Score几个指标,以及混淆矩阵。实验结果可见,SMOTE算法有效提高了垃圾邮件检出的准确度,基于SMOTE算法的垃圾邮件检测模型具有较好性能。
The detection of spam has always been a research hotspot in big data and artificial intelligence. This paper presents a complete data analysis process for the spam data set on the Kaggle, including data preprocessing, the construction of text feature, building the detection model of a spam. Due to the imbalance between ham and spam, the SMOTE algorithm is used to expand the spam data, then four learning algorithms such as logistic regression, SVM, decision tree and random forest are used to build the detection model of spam. The performance of four detection models is compared before and after SMOTE, especially the classification accuracy, precision, recall, F1-Score and confusion matrix. The experimental results show that SMOTE algorithm can effectively improve the accuracy of spam detection, and the spam detection model based on SMOTE algorithm has good performance. %K SMOTE, %K 精确度, %K 召回率, %K F1-Score, %K 混淆矩阵
SMOTE %K Precision %K Recall %K F1-Score %K Confusion Matrix %U http://www.hanspub.org/journal/PaperInformation.aspx?PaperID=110945