数据集
Enron-spam 库 (http://www2.aueb.gr/users/ion/data/enron-spam/) 包含垃圾邮件和合法邮件
环境
a) python 3.6
b) 所需的 python 模块 matplotlib==3.3.3 nltk==3.5 joblib==0.17.0 scikit_learn==0.23.2
c) nltk_data(http://www.nltk.org/data.html)
代码及使用
https://github.com/yajiewen/Spam_detection
效果展示