赵同学2024-03-13 15:47:00
能算一下,比如说a的TF和IDF都是用什么数除以什么数吗?因为有点乱。
回答(1)
最佳
Huang2024-03-13 23:28:28
同学你好,
Collection Level 是整个文件集
TF (Collection Level) = TotalWordCount/Total number of words in collection = 2,397/44,151
TF是单个文件
TF (Sentence Level) = WordCountInSentence/TotalWordsInSentence, 例如第二行的the;TF = 6/39
DF (Document Frequency) = SentenceCountWithWord/Total number of sentences 。 例如第二行的the DF= 1,453/2,180
-----------------------------------
如果满意答疑可【采纳】,仍有疑问可【追问】
- 评论(0)
- 追问(0)
评论
0/1000
追答
0/1000
+上传图片

