【文件属性】:
文件名称:20newsgroups-text-classification:对20 newsgroups 数据集 进行文本分类
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-01 00:13:17
sklearn text-classification-python Python
20newsgroups-text-classification
对20 newsgroups 数据集 进行文本分类
方法
基于传统机器学习方法的文本分类
基于深度学习的文本分类
测试结果
传统机器学习方法
MultinomialNB准确率为: 0.8960196779964222
SGDClassifier准确率为: 0.9724955277280859
LogisticRegression准确率为: 0.9304561717352415
SVC准确率为: 0.13372093023255813
LinearSVC准确率为: 0.9749552772808586
LinearSVR准确率为: 0.00022361359570661896
MLPClassifier准确率为: 0.9758497316636852
KNeighborsClassifier准确率为: 0.4584078711
【文件预览】:
20newsgroups-text-classification-master
----text_cnn_lstm.py(4KB)
----sklearn-pipeline.py(5KB)
----README.md(1002B)
----cnn_lstm.py(2KB)
----text_cnn.py(4KB)