Ozr2024-04-14 13:40:51
TF和DF的区别是? TF好像有at sentence level/corpus level/collection level?
回答(1)
Huang2024-04-15 00:18:28
同学你好,
TF at the corpus level = the number of times a given word appears in the whole corpus/the total number of words in the corpus
TF at sentence level=Word Count In Sentence/Total Words In Sentence
DF = Sentence Count With Word / Total number of sentences.
TF是某个词的频率,分母都是total number of words,
DF是包括某个词的句子出现的频率,分母是Total number of sentences。
-----------------------------------
如果满意答疑可【采纳】,仍有疑问可【追问】。
- 评论(0)
- 追问(0)
评论
0/1000
追答
0/1000
+上传图片

