###
计算机系统应用英文版:2021,30(9):237-241
本文二维码信息
码上扫一扫!
基于类信息的TF-IDF权重分析与改进
(南京理工大学 理学院, 南京 210094)
Feature Weight Analysis and Improvement of TF-IDF Based on Category Information
(School of Science, Nanjing University of Science and Technology, Nanjing 210094, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 579次   下载 1063
Received:December 04, 2020    Revised:January 08, 2021
中文摘要: 经典的TF-IDF算法仅考虑了特征词频率和逆文档频率等, 忽略了特征词的类间、类内分布信息. 本文通过TF-IDF算法计算特征词在不同规模语料库中的权重, 分析特征词的类信息对权重的影响, 并进一步针对该影响提出一种新的衡量特征词的类间、类内分布信息的方法. 本文通过增加两个新的权值, 类间离散因子和类内离散因子, 将其与经典的TF-IDF算法结合, 提出了基于类信息的改进的TF-IDF-CI算法. 本文通过朴素贝叶斯模型对改进后的算法的分类性能进行了验证. 实验证明, 改进后的权重算法在测试数据集上的表现, 在准确率、召回率和F1值上均优于经典的TF-IDF算法.
中文关键词: TF-IDF算法  类信息  权重分析  文本分类
Abstract:The classical TF-IDF algorithm only considers the feature term frequency, inverse document frequency, etc. but overlooks the distribution information of feature terms between and inside categories. In this study, we calculate the weights of feature terms through the TF-IDF algorithm in the corpus with different scales and analyze the impact of category information on weights. Based on this, a new method is proposed to measure the distribution information of feature terms between and inside categories. Furthermore, an improved TF-IDF-DI algorithm based on category information is proposed by adding two new weights and discrete factors between and inside categories to the classic TF-IDF algorithm. The Naive Bayes algorithm is used to validate the classification performance of the improved algorithm. Experiments show that the algorithm is superior to the classic TF-IDF algorithm in precision, recall, and F1 values.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
姚严志,李建良.基于类信息的TF-IDF权重分析与改进.计算机系统应用,2021,30(9):237-241
YAO Yan-Zhi,LI Jian-Liang.Feature Weight Analysis and Improvement of TF-IDF Based on Category Information.COMPUTER SYSTEMS APPLICATIONS,2021,30(9):237-241